1834798 Members
2450 Online
110070 Solutions
New Discussion

Re: 'who -b' not working

 
Brad Marks
Super Advisor

'who -b' not working

who -b, who -r & who -t all return nothing. Other varities of who (who -u, for example) work just fine.
Any ideas why this should start happening?
TIA,
Brad
It's not impossible -- it'll just cost more...
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: 'who -b' not working

Could be a corrupt wtmp file. Try nulling it out with

> /var/adm/wtmp


Pete

Pete
baiju_3
Esteemed Contributor

Re: 'who -b' not working

Hi Brad ,

This could possibly a corrupted or missing /etc/btmp or /var/adm/wtmp file .


Regards ..bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Jeff Schussele
Honored Contributor

Re: 'who -b' not working

Hi Brad,

I'd suspect one of a few things:

1) Corrupt /etc/utmp
2) Corrupt /var/adm/wtmp
3) Corrupt /etc/inittab
4) kernel has been relinked but system hasn't been rebooted yet.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Brad Marks
Super Advisor

Re: 'who -b' not working

I guess clearing wtmp will fix it but, since I frequently use the 'last' command, I'll live with the problem until I reboot next weekend.
Thanks for the speedy replies, guys.
I appreciate your help.
Brad
It's not impossible -- it'll just cost more...