Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!news.maxwell.syr.edu!news-was.dfn.de!news-fra1.dfn.de!news-koe1.dfn.de!news.ruhr-uni-bochum.de!news.rhrz.uni-bonn.de!news.chemietechnik.uni-dortmund.de!Uni-Dortmund.DE!Dortmund.Germany.EU.net!interface-business.de!usenet From: j@ida.interface-business.de (J Wunsch) Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc Subject: Re: User mount possible? Date: 17 Jun 1997 09:15:34 GMT Organization: interface business GmbH, Dresden Lines: 23 Message-ID: <5o5kjm$6b2@innocence.interface-business.de> References: <5nr27n$ees@vestein.arb-phys.uni-dortmund.de> <5nu2di$7o@xciv.demon.co.uk> <8767vgm5sw.fsf@devnull.ruhr.de> <5o2n4k$114@panix2.panix.com> <iy7pvtmh6vw.fsf@ws6423-f.i-have-a-misconfigured-system-so-shoot-me> Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) NNTP-Posting-Host: ida.interface-business.de X-Newsreader: knews 0.9.6 X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3583 comp.unix.bsd.freebsd.misc:43027 marino.ladavac@siemens.at wrote: > > Uh, look at Linux *why*? The "nodev" and "nosuid" and "noexec" flags have > > been available in Berkeley Unix for years. In fact, I believe the first time > > I saw them was as a patch to the SunOS 4.0.3 kernel source. > > Because these are mount(1) command line options. A perp with a user mount > privilege is guaranteed not to set them :) Instead, they have to be implied > if a non-root is doing a mount, and non-root mount is allowed only to a > usermount flagged directory. Usermount flag should be settable only by root. Where is the problem? If you've got the `user' flag set in /etc/fstab, indicating each user can mount this entry, why can't you hold the sysadmin responsible to specify `rw,user,nodev,nosuid' there? Did you miss that mount(8)'s command-line (-o) options are also the same as the option column in /etc/fstab? (Of course, -o user must be ignored when set on the command-line.) -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j