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




Printer Friendly Version

Have you tried Searching this site?

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


Printer Friendly Version





The danger of computers becoming like humans is not as great as the danger of humans becoming like computers. (Konrad Zuse)




Linux

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode


SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com