Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
9/10/2011 4:30:16 PM EDT
I've got an Ubuntu server running samba.  I've got a share with a bunch of folders and each folder is owned by a different user and only that user has rights to the folder.
I want to give one user permission to bypass everything like root does, but I don't know how.

I'm fine with making this user the complete equivalent of root if that's what it takes, but I don't want him to have to su or sudo since he will be coming in over Samba.

What do I need to do?

Thanks
9/10/2011 5:31:23 PM EDT
[#1]
Have you tried using groups?
You could put the semi-root user into a special group as then use the "allow user = @this_special_user" under the smb.conf

 
9/10/2011 6:12:04 PM EDT
[#2]
Quoted:
Have you tried using groups?


You could put the semi-root user into a special group as then use the "allow user = @this_special_user" under the smb.conf  


Would that work with me using user level permissions?
9/10/2011 11:57:40 PM EDT
[#3]
Quoted:
Quoted:
Have you tried using groups?


You could put the semi-root user into a special group as then use the "allow user = @this_special_user" under the smb.conf  


Would that work with me using user level permissions?


Use the 'admin users' setting in smb.conf.  This overrides the file/directory permissions, on that share, for the listed users.

See the smb.conf man page, but basically it's like "admin users = alice, bob, chris"

Doesn't work if you've set security = share, you need to use 'user' security, which is the default.
9/11/2011 4:39:20 AM EDT
[#4]
Quoted:
Quoted:
Quoted:
Have you tried using groups?


You could put the semi-root user into a special group as then use the "allow user = @this_special_user" under the smb.conf  


Would that work with me using user level permissions?


Use the 'admin users' setting in smb.conf.  This overrides the file/directory permissions, on that share, for the listed users.

See the smb.conf man page, but basically it's like "admin users = alice, bob, chris"

Doesn't work if you've set security = share, you need to use 'user' security, which is the default.


I'll give it a shot.  Thanks.