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-28 10:06:03 PST Xref: sparky comp.sys.dec:2727 comp.unix.ultrix:4072 comp.unix.admin:3006 Path: sparky!uunet!mcsun!uknet!cam-cl!cam-cl!maj From: maj@cl.cam.ac.uk (Martyn Johnson) Newsgroups: comp.sys.dec,comp.unix.ultrix,comp.unix.admin Subject: Re: Floppy Disk Security? (Re: Help: how to set the ownership ...) Message-ID: <1992Apr28.170603.25758@cl.cam.ac.uk> Date: 28 Apr 92 17:06:03 GMT References: <1992Apr23.123258.21085@ircam.fr> <1992Apr27.190911.6824@gordian.com> <1992Apr27.210248.11691@sura.net> <1992Apr27.212729.9887@gordian.com> Sender: news@cl.cam.ac.uk (The news facility) Reply-To: maj@cl.cam.ac.uk (Martyn Johnson) Organization: U of Cambridge Computer Lab, UK In article <1992Apr27.212729.9887@gordian.com>, mike@gordian.com (Michael Thomas) writes: |> In article <1992Apr27.210248.11691@sura.net>, lidl@sura.net (Kurt J. Lidl) writes: |> |> "mount" is not privledged under Ultrix. All you need is ownership of |> |> the mount point. |> |> Gack! I just looked at the man page for RiscOS (mips) and SunOS, and |> they are priviledged commands. (Actually it is mount(2) which requires |> root) This is a pretty gross security hole! So read the Ultrix man page too: General users can only mount file systems with certain res- trictions. For example, the user, other than the superuser, performing the mount must own the directory directory. Furthermore, no users other than the superuser can execute setuid or setgid programs on the mounted file systems. In addition, users other than the superuser cannot access block or special character devices such as rra0g on the mounted file systems. In other words, if a general user does the mount, setuid, setgid and device special files are automatically locked out. Thus it is not a security hole. Martyn Johnson maj@cl.cam.ac.uk University of Cambridge Computer Lab Cambridge UK