Overflowing wtmp

Root Boy Jim rbj at uunet.UU.NET
Wed Mar 13 08:03:02 AEST 1991


>	cat /dev/null > /etc/wtmp
>
>is as good as any other.

No it's not. The best way to zero a file is ":>file", which
works under sh, ksh, and csh. ">file" doesn't work under csh.
-- 
		[rbj at uunet 1] stty sane
		unknown mode: sane



More information about the Comp.unix.admin mailing list