Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!mcsun!ukc!axion!vision!chris From: chris@vision.UUCP (Chris Davies) Newsgroups: comp.unix.admin Subject: Re: user owns login tty Message-ID: <1339@vision.UUCP> Date: 3 Dec 90 16:39:27 GMT References: <1174@aut.autelca.ascom.ch> Reply-To: chris@vision.UUCP (Chris Davies) Organization: VisionWare Ltd., Leeds, UK Lines: 20 In article <1174@aut.autelca.ascom.ch> dhuber@aut.autelca.ascom.ch (Daniel Huber) writes: >Whenever somebody logs in on the system console he owns the device >/dev/console. >He can do everything with it. Even delete it. [...] No, they shouldn't be able to delete it. You should check the permissions of the directory /dev (SysV command is 'ls -ld /dev'); they should be something like rwxr-xr-x with owner bin, root, or sys. In general if a user doesn't have write access to a directory then they cannot delete any files from it. Chris -- VISIONWARE LTD | UK: chris@vision.uucp JANET: chris%vision.uucp@ukc 57 Cardigan Lane | US: chris@vware.mn.org BANGNET: ...!ukc!vision!chris LEEDS LS4 2LE, England | VOICE: +44 532 788858 FAX: +44 532 304676 -------------- "VisionWare: The home of DOS/UNIX/X integration" -------------