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: 10b612,8c9469280c4ae1c2 X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,8c9469280c4ae1c2 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-04-23 05:32:58 PST Xref: sparky comp.sys.dec:2709 comp.unix.ultrix:4043 comp.unix.admin:2981 Path: sparky!uunet!mcsun!corton!ircam!francis From: francis@ircam.fr (Joseph Francis) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Subject: Floppy Disk Security? (Re: Help: how to set the ownership ...) Message-ID: <1992Apr23.123258.21085@ircam.fr> Date: 23 Apr 92 12:32:58 GMT References: <1992Apr20.164826.11241@sci34hub.sci.com> Organization: IRCAM, Paris (France) In article keithl@mukluk.cc.monash.edu.au (Keith Lewis) writes: >gary@sci34hub.sci.com (Gary Heston) writes: >>In article shlam@cucs11.cs.cuhk.hk (Alan S H Lam) writes: >>=I can mount a 5000/25 DEC station floppy disk drive as a general user >>=... >>=However after the mounting, the ownership of the mount directory is >>=root rather than the user even though the directory is created by the ... > I assume you mean that root must mount the floppy and change >the ownership and permissions. There is an easier way of achieving this ... > Under Ultrix version 3 or thereabouts, we used to let our users >format (using /etc/rzdisk), initialise (using /etc/newfs), prototype (using ... >far as users are concerned). Setting suid 0 on rzdisk doesn't help. > Obviously there are rather grave security implications in having the >floppy disk file systems at all. 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? -- | Le Jojo: Fresh 'n' Clean, speaking out to the way you want to live | today; American - All American; doing, a bit so, and even more so.