Displaying 1 result from an estimated 1 matches for "cmd_mount".
2008 Jul 09
2
sudoers
Hi,
I need to run /bin/mount and /sbin/mount.cifs commands as nobody user
(it has (bin/bash shell).
So, I've edited /etc/sudoers and added:
Cmnd_Alias CMD_MOUNT = /bin/mount
Cmnd_Alias CMD_CIFS ) = /sbin/mount.cifs
nobody ALL = NOPASSWD: CMD_MOUNT
nobody ALL = NOPASSWD: CMD_CIFS
But when I run the command as nobody (in the shell), I get the error:
"mount error 1 = Operation not permitted"
Any ideas ?
Any help would be a...