Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jfh@rpp386.lonestar.org (John F. Haugh II)
Subject: Re: Floppy Disk Security?
Date: 27 Apr 92 19:14:40 GMT	[thread overview]
Message-ID: <20680@rpp386.lonestar.org> (raw)
In-Reply-To: 1992Apr23.123258.21085@ircam.fr

In article <1992Apr23.123258.21085@ircam.fr>, francis@ircam.fr (Joseph Francis) writes:
> Yes, I'm utterly curious about suid programs, and "root" ownership.
> What is to prevent someone with an appropriate disk drive to twiddle a
> few bits on a floppy and create suid root shells and such, mount and
> execute them? Enquiring minds want to know. In the far-flung future I
> may have to administer a group of laptop workstations, and aside from
> simply "Just Say NO" to mounted floppy filesystems, I can't see an
> easy solution. I know suid root can't propagate across NFS, for
> instance, but this is slightly different. A suid disallow bit on the
> /dev/<X> file permissions with appropriate driver modifications?

What you need to do is write a version of the mount command that scans
the diskette for violating programs before performing the "mount".  Let
your unwashed masses run that priviledged program and do the mount.

As always, we again find that there is a small race condition, but that's
what UNIX is all about, right? ;-)
-- 
John F. Haugh II                   | SITUATION WANTED:
Ma Bell: (512) 251-2151            |    Will write device drivers, turn status
UUCP: ...!cs.utexas.edu!rpp386!jfh |    reports in late, and whine incessantly
Domain: jfh@rpp386.cactus.org      |    for food.  Serious inquiries only ;-)


  parent reply	other threads:[~1992-04-27 19:14 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
1992-04-27 19:14       ` John F. Haugh II [this message]
1992-04-28  8:43         ` Floppy Disk Security? 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