Solved

Access Ubuntu super-user area using Samba

Posted on 2006-10-22
1
461 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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

16 Experts available now in Live!

Get 1:1 Help Now