APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

People log out but still show up in who (Old Sco Unix)

This information is logged in /etc/utmp and /etc/utmpx. In 5.0.4, this information is cleared when the system reboots. For earlier releases, edit /etc/bcheckrc as follows. You will see the first of the following three lines already there; add the other two below it.

/bin/su bin -c "/etc/devnm / 2>/dev/null" | /etc/setmnt
[ -w /etc/utmp ] && > /etc/utmp
[ -w /etc/utmpx ] && > /etc/utmpx

Also, "cwtmp" ftp://ftp.armory.com/pub/scobins/cwtmp is a freely available utility that clears stale logins.

Also available for Linux: ftp://ftp.armory.com/pub/linux/cwtmp

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> (SCO Unix) People log out but still show up in who

Increase ad revenue 50-250% with Ezoic

Kerio Samepage

Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Computers have been taught to distrust each other and will reject attempted connections most of the time. Nowadays, most computers and firewalls are utterly rude about it: it would be like asking someone to dance and having them ignore you as though you were invisible and inaudible. (Tony Lawrence)

This post tagged: