Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 09:16:52 +0200
From:      Erik Alexander =?iso-8859-1?Q?L=F8kken?= <eal@mnemonic.no>
To:        Brett Glass <brett@lariat.org>
Cc:        security@freebsd.org
Subject:   Re: Removable media security in FreeBSD
Message-ID:  <20030610071652.GJ561@mnemonic.no>
In-Reply-To: <4.3.2.7.2.20030610010227.02a68ed0@localhost>
References:  <200306092254.QAA10240@lariat.org> <200306092254.QAA10240@lariat.org> <4.3.2.7.2.20030610010227.02a68ed0@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10.06 01:04, Brett Glass wrote:
> At 05:21 PM 6/9/2003, Doug Barton wrote:
>   
> >On Mon, 9 Jun 2003, Brett Glass wrote:
> >
> >> Allowing the user to use sudo would effectively be giving him/her root
> >> privileges, which we explicitly don't want to do.
> >
> >No it wouldn't. You can specify the commands that you allow each user to
> >run. 
> 
> Ah, but letting the user mount and unmount things effectively lets that
> person do anything he or she wants, by switching around what's mounted
> at key mountpoints.
> 

Or you can limit which mount points the user actually has the privileges 
to change, in sudoers:

%users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom

/erik



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