*BSD News Article 97686


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!feed1.news.erols.com!news-xfer.netaxs.com!panix!news.panix.com!not-for-mail
From: tls@panix.com (Thor Lancelot Simon)
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc
Subject: Re: User mount possible?
Date: 16 Jun 1997 02:40:20 -0400
Organization: Panix
Lines: 34
Message-ID: <5o2n4k$114@panix2.panix.com>
References: <5nr27n$ees@vestein.arb-phys.uni-dortmund.de> <5nu2di$7o@xciv.demon.co.uk> <8767vgm5sw.fsf@devnull.ruhr.de>
Reply-To: tls@rek.tjls.com
NNTP-Posting-Host: panix2.panix.com
X-Newsposter: trn 4.0-test55 (26 Feb 97)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:3562 comp.unix.bsd.freebsd.misc:42868

In article <8767vgm5sw.fsf@devnull.ruhr.de>,
Benedikt Stockebrand  <benedikt@devnull.ruhr.de> wrote:
>paul@xciv.org (Paul Civati) writes:
>
>> In article <5nr27n$ees@vestein.arb-phys.uni-dortmund.de>,
>> 	wb@arb-phys.uni-dortmund.de (Wilhelm B. Kloke) writes:
>> 
>> > I ran into the following problem. I am serving diskless workstations
>> > on FreeBSD (2.2, if that matters). I want the users of these
>> > workstations to be able to mount their local disks, floppies and
>> > CD-ROM, and use local swap space, if available. The man pages
>> 
>> Some systems (Linux for one, I think) have a 'user' mount flag, to
>> enable ordinary non-root users to mount devices.
>
>Yes.  And once you're at that you also need things flags like
>"ignoresuid", "ignoredevs" and another bunch of these.  If anyone is
>really going for this you might take a look at Linux first about these
>flags.  Simply having a user mount a file system that contains a suid
>root file or an improperly protected /dev/kmem doesn't seem such a
>good idea...

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.

It's always nice to hear that Linux has invented yet another thing that
someone else thought of years before.  Really.

-- 
Thor Lancelot Simon	                                      tls@rek.tjls.com
  "American culture, Disneyland freak show -- screen in your living room a
   window for your tomb -- you can't compare to the world sitting there,
   repress your insecurities, watching it scared..."	-Operation Ivy