add mount command to all users in sudoers file
hi all,
i want to add all users to have the access to use the mount command ie atm when a user trys to use the mount command they get this -
[robw@robw-linux ~]$ mount -t cifs -o username=robertw //molfiler03/Public /mnt/Public/
mount: only root can do that
[robw@robw-linux ~]$
but obviously when i su into root i can mount it no problems
so can i use a variable ie like this in my sudoers file on a new line -
$USER ALL=/sbin/mount /sbin/umount
will this work for all the users on the system
many thanks
rob
|