Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access Ubuntu super-user area using Samba

Posted on 2006-10-22
1
Medium Priority
?
480 Views
Last Modified: 2012-06-27
Does anyone know how I can gain access to a super-user area (e.g. /etc ) using Samba?
As I understand, there's no root-user in Ubuntu, only normal users with su privileges..(?)
I run Samba, and has added samba-password to a user with su-privileges. I can access files on this user's home-area, but can't get write-access to other areas even though these are shared.
Suggestions?
0
Comment
Question by:Skjori
1 Comment
 
LVL 5

Accepted Solution

by:
daohailam earned 2000 total points
ID: 17793533
1. No, root-user still exists.  You can do as follows to change root password (from the terminal prompt):

   $ sudo -i
   Password: <your_password>
   # passwd
   Password: <root_password>

  after that, you can login to root (at console) normally

2. With Samba shares, you can set write permission with following options in /etc/samba/smb.conf

[ShareName]
  path = /opt
  ...
  writable = yes
  valid users = someone
  write list = someone @somegroup
  ...
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question