Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: maj@cl.cam.ac.uk (Martyn Johnson)
Subject: Re: Floppy Disk Security? (Re: Help: how to set the ownership ...)
Date: 28 Apr 92 17:06:03 GMT	[thread overview]
Message-ID: <1992Apr28.170603.25758@cl.cam.ac.uk> (raw)
In-Reply-To: 1992Apr27.212729.9887@gordian.com

In article <1992Apr27.212729.9887@gordian.com>, mike@gordian.com
(Michael Thomas) writes:
|> In article <1992Apr27.210248.11691@sura.net>, lidl@sura.net (Kurt J.
Lidl) writes:
|> |> "mount" is not privledged under Ultrix.  All you need is ownership of
|> |> the mount point.
|> 
|>    Gack! I just looked at the man page for RiscOS (mips) and SunOS, and
|> they are priviledged commands. (Actually it is mount(2) which requires
|> root) This is a pretty gross security hole!

So read the Ultrix man page too: 

     General users can only mount file systems with certain  res-
     trictions.  For example, the user, other than the superuser,
     performing the  mount  must  own  the  directory  directory.
     Furthermore,  no  users other than the superuser can execute
     setuid or setgid programs on the mounted file  systems.   In
     addition, users other than the superuser cannot access block
     or special character devices such as rra0g  on  the  mounted
     file systems.

In other words, if a general user does the mount, setuid, setgid and device
special files are automatically locked out. Thus it is not a security hole.

Martyn Johnson      maj@cl.cam.ac.uk
University of Cambridge Computer Lab
Cambridge UK


  reply	other threads:[~1992-04-28 17:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-04-16  1:26 Help: how to set the ownership of a mounted floppy disk back to general user Alan S H Lam
1992-04-17 10:29 ` Chuck Qun Zheng
1992-04-17 15:30   ` John F Haugh II
1992-04-20 16:48 ` Gary Heston
     [not found]   ` <keithl.703861421@mukluk.cc.monash.edu.au>
1992-04-23  5:11     ` dosread and doswrite for 3.5" floppies wanted Richard Mackerras,Lamble 140,73-3464,71-1133
1992-04-23 12:32     ` Floppy Disk Security? (Re: Help: how to set the ownership ...) Joseph Francis
1992-04-27 16:41       ` Steve McKinty - Sun ICNC
1992-04-29 12:33         ` Nik Simpson
1992-05-01 18:03           ` Peter da Silva
1992-04-27 19:09       ` Michael Thomas
     [not found]         ` <1992Apr27.210248.11691@sura.net>
1992-04-27 21:27           ` Michael Thomas
1992-04-28 17:06             ` Martyn Johnson [this message]
1992-04-27 19:14       ` Floppy Disk Security? John F. Haugh II
1992-04-28  8:43         ` Ian G Batten
1992-04-28 12:19       ` Floppy Disk Security? (Re: Help: how to set the ownership ...) Gary Heston
1992-05-01 14:02         ` Drew Eckhardt
1992-05-04 15:47           ` Gary Heston
1992-05-04 23:29           ` Peter da Silva
1992-05-01 13:02       ` Drew Eckhardt
1992-04-23 16:04     ` Help: how to set the ownership of a mounted floppy disk back to general user Peter da Silva
1992-04-26 20:07       ` Jonathan I. Kamens
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox