Solved

Access Ubuntu super-user area using Samba

Posted on 2006-10-22
1
465 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 500 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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now