Berkeley CSUA MOTD:Entry 26581
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2002/11/20 [Computer/SW/OS/FreeBSD] UID:26581 Activity:nil
11/19   On my FreeBSD 4.7 system, when I type "w" to see who's logged on
        (it should only be me), it doesn't show anyone being logged on.
        Why is it doing this? It also says this:
        w: /dev/:0: No such file or directory
        Thanks.
        \_ Try this (as root):
            cp /var/log/wtmp /var/log/wtmp.bak
            cp /var/run/utmp /var/log/utmp.bak
            cp /dev/null /var/log/wtmp
            cp /dev/null /var/run/utmp
           Then reboot.  If things are ok, you can probably delete
           the .bak files.