user owns login tty

Tom Christiansen tchrist at convex.COM
Mon Dec 3 04:32:50 AEST 1990


In article <1174 at aut.autelca.ascom.ch> dhuber at aut.autelca.ascom.ch (Daniel Huber) writes:
>I'm not a unix "specialist" at the moment (probably in future..hi guys)
>:-)
>
>Ok. Here is my question:
>
>Whenever somebody logs in on the system console he owns the device
>/dev/console.
>He can do everything with it. Even delete it. 

Only circumstantially.  Ownership of a file has nothing to do with
deleting it in UNIX.  Check out the permissions on /dev.  Make them mode
0755, owner root.bin, or whatever group makes sense on your system.  Of
course, if they're the superuser, it can still happen.

--tom



More information about the Comp.unix.admin mailing list