user owns login tty

Chris Davies chris at vision.UUCP
Tue Dec 4 03:39:27 AEST 1990


In article <1174 at aut.autelca.ascom.ch> dhuber at 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 at vision.uucp    JANET: chris%vision.uucp at ukc
57 Cardigan Lane       | US: chris at 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" -------------



More information about the Comp.unix.admin mailing list