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-27 09:41:07 PST Xref: sparky comp.sys.dec:2712 comp.unix.ultrix:4048 comp.unix.admin:2983 Path: sparky!uunet!sun-barr!west.West.Sun.COM!grapevine.EBay.Sun.COM!sunicnc.France.Sun.COM!smckinty From: smckinty@sunicnc.France.Sun.COM (Steve McKinty - Sun ICNC) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Subject: Re: Floppy Disk Security? (Re: Help: how to set the ownership ...) Date: 27 Apr 1992 16:41:07 GMT Organization: Sun Technologies Enterprise Inc. Sender: smckinty@hardy (Steve McKinty - Sun ICNC) Distribution: world Message-ID: References: <1992Apr20.164826.11241@sci34hub.sci.com> <1992Apr23.123258.21085@ircam.fr> NNTP-Posting-Host: hardy.france.sun.com 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 "Just say No" is the best option. It is possible on at least some Unixes (maybe most, I don't know) to use a 'nosuid' option for mount, which prevents any suid programs from doing the suid. > 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? I believe you can run an suid program across NFS provided the remote filesystem has not been mounted 'nosuid'. I mount all remote filesystems 'nosuid' (but then I'm naturally suspicious...) Steve