Date: 31 Jan 2001 11:12:34 -0500 From: Lowell Gilbert <lowell@world.std.com> To: freebsd-questions@freebsd.org Subject: Re: A different "user mounting of /cdrom" Message-ID: <44y9vrpuod.fsf@lowellg.ne.mediaone.net> In-Reply-To: bfoz@glue.umd.edu's message of "31 Jan 2001 05:04:19 %2B0100" References: <3A778EA0.2ED43768@glue.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
bfoz@glue.umd.edu (Brandon Fosdick) writes: > Ok, so I've been through the FAQ entry for allowing users to > mount/umount removable media. It works exactly like the FAQ said it > would, and thats my problem. > > The provided method allows users to mount media to directories owned by > the user in question. How do I allow many users to mount the cdrom to > /cdrom as opposed to ${HOME}/whatever? AFAIK I can't make /cdrom owned > by all of the users, and setting the group on /cdrom didn't work. This all depends on how much you trust the users, and how much you want to treat the machine as a basically single-user (on the console) machine. One option is giving root powers to the users for just this one purpose: carefully tuned use of sudo (in the ports) or a suid-root (ugh) program to do the mount for you. Another option is giving the /cdrom directory to the console user with fbtab(5) and/or Xsetup. The latter option at least protects the console user from possibly malicious other users. Good luck. 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?44y9vrpuod.fsf>