Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Apr 2000 14:12:37 -0500
From:      "Marty Leisner" <leisner@rochester.rr.com>
To:        bart.lateur@skynet.be (Bart Lateur)
Cc:        freebsd-questions@FreeBSD.ORG, leisner@rochester.rr.com
Subject:   Re: mounting a cdrom as a normal user. 
Message-ID:  <200004011912.OAA02255@rochester.rr.com>
In-Reply-To: Your message of "Sat, 01 Apr 2000 17:02:21 GMT." <38e726f9.857708@relay.skynet.be> 

next in thread | previous in thread | raw e-mail | index | archive | help

The linux mount program is setuid and has a user fstab option.

I definitely like it...it solves this problem...

I have cdrom entries in my fstab of noauto,user
and don't have this problem.

Marty Leisner


bart.lateur@skynet.be (Bart Lateur) writes  on Sat, 01 Apr 2000 17:02:21 GMT
     > On Sat, 1 Apr 2000 03:15:36 -0800 (PST), Derrick Baumer wrote:
     > 
     > >>     Using fbsd 3.4-release, I would like to give one user the 
ability to
     > >> mount/umount cdrom's and floppies, but not for any other user.
     > >
     > >The base installation does that for you quite nicely.  The user is
     > >called "root".  :)
     > 
     > Don't think of it as a joke. If I get this correctly, the question is:
     > 
     >     How do you let one user insert, remove, and switch CD's without
     >     granting him root privileges?
     > 
     > I can imagine one way, using SUID scripts owned by root, run by that
     > user. But as I'm still pretty green, I'm not sure if it will work; or if
     > it is even necessary. One thing you could make sure of, is that these
     > commands are issued from the local terminal. Remotelyremoving a CD makes
     > not much sense.
     > 
     > -- 
     > 	Bart.
     > 
     > 
     > To Unsubscribe: send mail to majordomo@FreeBSD.org
     > with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004011912.OAA02255>