Posted: 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 |
|
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. |
|
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. |