Thread: /var/log/wtmp
View Single Post
Posts: 160 | Thanked: 1 time | Joined on Mar 2006
#6
Originally Posted by jayholler
what did you enter on the command line?

i tried:

ln /var/log/wtmp /dev/null

but i get the error:

ln: /dev/null: Invalid cross-device link

not sure what to do here.

any ideas?
As root

rm /var/log/wtmp
ln -s /dev/null /var/log/wtmp

Last edited by troubleshootr; 2006-04-14 at 03:32.