[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8861.0. "how d I allow users to mount file systems?" by TROOA::ras024p16.tro.dec.com::Ihab () Mon Feb 17 1997 21:15

How do I give a particular user a permission to mount a certain file system?

I've given him ownership of the raw-device "/dev/xxx" and also the ownership 
of the mount point.  As well as added him to the system group in "/etc/group" 
file.

I'm using ADVFS and keeps getting "file not owner" error message!  I've also 
tried the suid in the mount command!

Any ideas....
Thanks;
T.RTitleUserPersonal
Name
DateLines
8861.1LEXSS1::GINGERRon GingerTue Feb 18 1997 08:493
    use the sudo utility to allow users specific commands as root.
    
    sudo is on the freeware disk, gatekeeper, most Linux CD's and on the net.
8861.2DECWET::MARTINWed Feb 19 1997 15:057
mount_advfs requires an EUID of 0 to mount an AdvFS filesystem.  This is,
unfortunately, required to prevent possible denial-of-service attacks.

Go with Ron's suggestion of sudo, or look at making /sbin/mount_advfs suid
instead of /sbin/mount suid.

--Ken