Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!munnari.oz.au!metro!grivel!gara!loki!mark From: mark@loki.une.oz (Mark Garrett ) Newsgroups: comp.unix.admin Subject: Re: user owns login tty Message-ID: <1053@loki.une.oz> Date: 4 Dec 90 22:18:39 GMT References: <1990Dec3.141053.6815@druid.uucp> Organization: University of NewEngland, Northern Rivers (Lismore) Lines: 22 From article <1990Dec3.141053.6815@druid.uucp>, by darcy@druid.uucp (D'Arcy J.M. Cain): > In article <1174@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. In this case the sysadm >>has a lot of work if the machine goes down before the file /dev/console >>is existent again. Reloading a tape with a miniUNIX etc... >>Is there a way to prevent deleting (I assume accidentally) the >>/dev/console file? On all the version of unix that I've used you require write permission to a directory to remove a file from it. Remember its the file dev on device / that you must update to remove a file ! If you can remove this file just because you own it then you had better look at the owner and file protection on dev ! NOW !!!! And get these somebody(s) away from your console !!!!!! -- Mark Garrett Internet: mark@loki.une.oz.au University of NewEngland ACSnet: mark@loki.une.oz Northern Rivers VAX/VMS PSI: psi%0505266222011::mark Lismore NSW Australia Phone: +61 (066) 230859