Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Apr 2000 17:02:21 GMT
From:      bart.lateur@skynet.be (Bart Lateur)
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mounting a cdrom as a normal user.
Message-ID:  <38e726f9.857708@relay.skynet.be>
In-Reply-To: <200004011115.DAA01436@earthlink.net>
References:  <200004011115.DAA01436@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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