On Sunday 19 June 2005 3:45 am, Ken Schneider wrote:
On Sat, 2005-06-18 at 23:21 -0700, Scott Leighton wrote:
I'm perplexed over the output of who versus w. who displays 8 'users', two of which I know for sure are not logged on the box. ( the last two entries ).
helphand :0 2005-06-18 10:36 (console) root tty1 2005-06-11 21:11 helphand pts/0 2005-06-18 10:36 helphand pts/2 2005-06-18 10:36 helphand pts/1 2005-06-18 10:36 helphand pts/4 2005-06-18 16:19 dirtkid pts/6 2005-06-18 19:12 dirtkid pts/7 2005-06-18 19:15
w displays 6 'users', yet the count on the first line agrees with 'who', it says 8 users.
helphand@helphand:~> w 23:17:49 up 9 days, 5:12, 8 users, load average: 0.04, 0.10, 0.09 USER TTY LOGIN@ IDLE JCPU PCPU WHAT helphand :0 10:36 ?xdm? 1:18m 0.07s /bin/sh /usr/X11R6/bin/kde root tty1 11Jun05 7days 0.13s 0.13s -bash helphand pts/0 10:36 12:41m 0.00s 27.23s kded [kdeinit] kded helphand pts/2 10:36 11:19m 0.66s 0.11s /bin/bash helphand pts/1 10:36 2:58m 0.21s 0.09s /bin/bash helphand pts/4 16:19 0.00s 0.29s 0.00s w helphand@helphand:~>
What does last | grep dirtkid show? Do the logins show after a reboot?
last shows gone - no logout, which makes sense to me. It was my son using CywinX from a laptop to run the gimp. I suspected that he didn't logout properly when he finished, which is why I used 'who' in the first place and noticed the discrepancies. helphand@helphand:~> last | grep dirtkid dirtkid pts/7 Sat Jun 18 19:15 gone - no logout dirtkid pts/6 Sat Jun 18 19:12 gone - no logout dirtkid pts/5 192.168.1.101 Sat Jun 18 19:11 - 21:52 (02:41) He still shows up in 'who' this morning, I haven't rebooted yet. I'll try that after I've exhausted other points of investigation. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.7-default x86_64