Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sudo passwords



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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org