[sudo-users] newbie

rwhetsel raven at ravensong.com
Wed Aug 11 13:34:03 EDT 2004

Hello all,

I am trying to allow everyone on my system to be able to mount and 
umount the cdrom with sudo.  The only user on the system besides root is 

from sudoers,

Host_Alias     CDROM = bsd
ALL            CDROM = NOPASSWD: /sbin/umount /CDROM,\
                /sbin/mount -o nosuid\,nodev /dev/cd0a /CDROM

This is what I have changed from the sudoers file.

$ sudo mount /cdrom
Password: *********

This is what I do and what I get is: 
Sorry user fred is not allowed to execute 'sbin/mount' as root on bsd

What am I missing?


More information about the sudo-users mailing list