From owner-freebsd-security@FreeBSD.ORG Tue Jun 10 00:37:06 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D183837B401 for ; Tue, 10 Jun 2003 00:37:06 -0700 (PDT) Received: from dfmm.org (walter.dfmm.org [209.151.233.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 510EB43F93 for ; Tue, 10 Jun 2003 00:37:06 -0700 (PDT) (envelope-from jason@shalott.net) Received: (qmail 44787 invoked by uid 1000); 10 Jun 2003 07:37:04 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Jun 2003 07:37:04 -0000 Date: Tue, 10 Jun 2003 00:37:04 -0700 (PDT) From: Jason Stone X-X-Sender: To: In-Reply-To: <4.3.2.7.2.20030610010227.02a68ed0@localhost> Message-ID: <20030610003528.J14379-100000@walter> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Removable media security in FreeBSD X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 07:37:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > >> 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. No - in the sudo config you can (actually, _must_) specify not just the command but (all) the arguments. -Jason -------------------------------------------------------------------------- Freud himself was a bit of a cold fish, and one cannot avoid the suspicion that he was insufficiently fondled when he was an infant. -- Ashley Montagu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) Comment: See https://private.idealab.com/public/jason/jason.gpg iD8DBQE+5YqgswXMWWtptckRAnP7AJ9jkM40BsuK/lrkUV34pHYAWjUnhwCffi+h r7Y/LspVB3IzqJZsCr4ZSsk= =ipU5 -----END PGP SIGNATURE-----