[sudo-users] sudo and friends

jan kalcic jandot at googlemail.com
Thu Jan 18 09:49:42 EST 2007

Hi people,

I need to give access to all files under /etc/samba/* to a user using
sudo. I want him to be able to modify to all those files using vi and I
also want him to use the script /etc/init.d/smbd and nmbd with option
"status" only.

user ALL=/usr/bin/vi /etc/samba/*
user ALL=/etc/init.d/smbd status
user ALL=/etc/init.d/nmbd status

Is this configuration right or I've not understood nothing about sudo?


More information about the sudo-users mailing list