Date: Mon, 12 Jan 2004 23:43:05 +0100 From: Simon Barner <barner@in.tum.de> To: Eric F Crist <ecrist@adtechintegrated.com> Cc: freebsd-questions@freebsd.org Subject: Re: Mounting as non-root? Message-ID: <20040112224305.GA687@zi025.glhnet.mhn.de> In-Reply-To: <200401121441.05186.ecrist@adtechintegrated.com> References: <200401121441.05186.ecrist@adtechintegrated.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > What is the most secure way to enable mounting of flash drives, cdroms, a= nd=20 > floppies? I've seen solutions that include setting setuid on mount. I w= ould=20 > rather not go this route. Is there any other easy, secure way? You can allow mounting for ordinary users with the following sysctl(8): vfs.usermount With Gnome 2.5 (probably also with 2.4, but I need to run the development version in order to help with some ports) users can mount cdroms and floppies on mount points in their home directories (~/cdrom and ~/floppies). Unfortunately, you will need appropriate entries into /etc/fstab for every user. Simon --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFAAyL5Ckn+/eutqCoRAjH4AJ0cmU+gIbqQh7IhxJjDvn3WEz1Z8ACfXi/K pm9Z37946VQgevyoslO4CI8= =LQBM -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112224305.GA687>