Mounting as non-root?

Eric F Crist ecrist at adtechintegrated.com
Mon Jan 12 13:00:57 PST 2004


On Monday 12 January 2004 02:50 pm, Gautam Gopalakrishnan wrote:
> On Mon, Jan 12, 2004 at 02:40:54PM -0600, Eric F Crist wrote:
> Content-Description: signed data
>
> > What is the most secure way to enable mounting of flash drives, cdroms,
> > and floppies?  I've seen solutions that include setting setuid on mount. 
> > I would rather not go this route.  Is there any other easy, secure way?
>
> sudo is the easiest I've seen. I've stopped using su nowadays, for anything

Gautam,

I guess I should have specified a little clearer.  My desktop users have an 
icon on their desktops so they can access the cdrom, usb flash drives, etc.  
They need the ability to just right-click an select mount or unmount.  I have 
temporarily setuid on mount and umount, but this allows these users to mount 
and unmount core filesystems, too. I would like to get away from this.
-- 
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040112/870573e9/attachment.bin


More information about the freebsd-questions mailing list