[sudo-users] newbie

Galen Johnson Galen.Johnson at sas.com
Wed Aug 11 14:28:51 EDT 2004

Why don't you just do this through the fstab (vfstab) file?  Unless I'm mistaken you should just be able to add 'users' to the mount options field.


-----Original Message-----
From: sudo-users-bounces at courtesan.com [mailto:sudo-users-bounces at courtesan.com] On Behalf Of rwhetsel
Sent: Wednesday, August 11, 2004 1:34 PM
To: sudo-users at sudo.ws
Subject: [sudo-users] newbie

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?


sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list