Kanwar, the 'who' and 'last' programs get their information about who is currently logged in, or was WAS logged in from the utmp and wtmp files. There's a great article written by Derek Dresser, explaining how to get those 2 files updated properly, when users log in or out.
The article is a bit dated, but the info should still be relavent. The url is: http://www.ltsp.org/contrib/utmp_updating.txt Jim McQuillan [EMAIL PROTECTED] On Mon, 9 May 2005, Kanwar Ranbir Sandhu wrote: > On Sun, 2005-08-05 at 23:41 -0700, Mahesh M. wrote: > > The "last" command now registers login and logout. But > > the command "who" and "w" still do not list the > > current users logged in. They list only the most > > recent user logged in. > > One of my customers has the same problem. During our initial LTSP > testing, 'who' and 'w' would always list all of the logged in users. > Some time after implementation, 'who' and 'w' would only list the last > person to log into his/her thin client. > > We spent some time looking into it, but could not come up with a > solution or find a reason why it was happening in the first place. > Also, since we could just do 'last | grep still', the decision was made > to just drop it and leave it as is. > > Still, I'd like to know why 'who' and 'w' are hosed. > > Regards, > > Ranbir > > -- > Kanwar Ranbir Sandhu > Systems Aligned Inc. > www.systemsaligned.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
