From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,8c9469280c4ae1c2 X-Google-Attributes: gid1020c6,public X-Google-Thread: 1164f8,8c9469280c4ae1c2 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,8c9469280c4ae1c2 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-04-27 12:14:40 PST Xref: sparky comp.sys.dec:2717 comp.unix.ultrix:4053 comp.unix.admin:2988 Path: sparky!uunet!europa.asd.contel.com!paladin.american.edu!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!chinacat!rpp386!jfh From: jfh@rpp386.lonestar.org (John F. Haugh II) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Subject: Re: Floppy Disk Security? Message-ID: <20680@rpp386.lonestar.org> Date: 27 Apr 92 19:14:40 GMT References: <1992Apr23.123258.21085@ircam.fr> Organization: River Parishes Programming, Austin TX 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/ 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 ;-)