sudo passwords

Kuan Lee kuanlee at erols.com
Fri Feb 12 21:45:51 EST 1999


Pausing before the last shore of time, pfarrar at learningco.com wrote:
> 
>      So I set up sudo to let users run simple commands like mount /dev/fd0 
>      /floppy, but it promps for a password... the root password.  This 
>      seems to defeat some of the functionality.  I'd like whoever to be 
>      able to mount a CDROM with out giving out the root password.

sudo is not appropriate for that.  Use the 'user' option in
/etc/fstab.  Ordinary users can now mount those devices.

$ mount -V
mount: mount-2.5m
:::::
/etc/fstab
:::::
/dev/hdc        /cdrom      iso9660     ro,user,noauto,unhide
/dev/fd0        /floppy     msdos       user,noauto


-- 
-==-
Kuan

-
Subcription/unsubscription/info requests: send e-mail with subject of
"subscribe", "unsubscribe", or "info" to discuss-request at blu.org



More information about the Discuss mailing list