user owns login tty

Mark Garrett mark at loki.une.oz
Wed Dec 5 09:18:39 AEST 1990


>From article <1990Dec3.141053.6815 at druid.uucp>, by darcy at druid.uucp (D'Arcy J.M. Cain):
> In article <1174 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. 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 at loki.une.oz.au
 University of NewEngland	ACSnet:		mark at loki.une.oz
	Northern Rivers		VAX/VMS PSI:	psi%0505266222011::mark
Lismore NSW Australia		Phone:	 	+61 (066) 230859



More information about the Comp.unix.admin mailing list