From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8c9469280c4ae1c2 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,8c9469280c4ae1c2 X-Google-Attributes: gid10b612,public X-Google-Thread: 1020c6,8c9469280c4ae1c2 X-Google-Attributes: gid1020c6,public X-Google-ArrivalTime: 1992-04-28 05:19:14 PST Xref: sparky comp.sys.dec:2723 comp.unix.ultrix:4066 comp.unix.admin:3000 Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Path: sparky!uunet!sci34hub!gary From: gary@sci34hub.sci.com (Gary Heston) Subject: Re: Floppy Disk Security? (Re: Help: how to set the ownership ...) Message-ID: <1992Apr28.121914.10226@sci34hub.sci.com> Reply-To: gary@sci34hub.sci.com (Gary Heston) Organization: SCI Technology, Inc., Huntsville, Al. References: <1992Apr20.164826.11241@sci34hub.sci.com> <1992Apr23.123258.21085@ircam.fr> Date: Tue, 28 Apr 1992 12:19:14 GMT 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? At the moment, there doesn't seem to be anything preventing them, other than physical security of the systems' floppy drive. I wonder if a tape could be similarly rigged--dump a script to it with tar or cpio, dd the image in, twiddle a few bits, dd it back out, and tar/cpio it back in. I don't believe either of them clears suid bits, or doing a system restore after a crash would be miserable. Ack. Nothing is safe; there's no security--better get a few bags of concrete and encase my systems.... :-) = 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? How about a suid program specific to mounting floppies? If it incorporates a scan for suid programs or scripts, and refuses to mount (unless being run by root or the suid owner), that should provide adequate protection, and doesn't require writing a new driver (or making internal changes). -- Gary Heston SCI Systems, Inc. gary@sci34hub.sci.com site admin The Chariman of the Board and the CFO speak for SCI. I'm neither. "Always remember, that someone, somewhere, is making a product that will make your product obselete." Georges Doriot, founder of American R & D.