[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "last","w","who" not working !

In article <199801062207.XAA00540@lathspell.westend.com>,
Christian Hammers <ch@lathspell.westend.com> wrote:
>Hi !
>Since updating to the hamm (libc6) version (and maybe also before) my 
>"last", "w" and "who" do not work !!! 

1. You need to update ALL your packages to hamm
2. Reboot if you haven't done that already
3. You need to move the wtmp file and truncate the utmp file:
   cd /var/log
   mv wtmp wtmp.libc5
   touch wtmp
   cd /var/run
   cp /dev/null utmp
4. You might want to reboot again to make sure

This is because the "struct utmp" and thus the utmp and wtmp "databases"
are different between libc5 and libc6

 Miquel van Smoorenburg |  The dyslexic, agnostic, insomniac lay in his bed
    miquels@cistron.nl  |  awake all night wondering if there is a doG

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: