LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How many users do I REALLY have? (https://www.linuxquestions.org/questions/linux-security-4/how-many-users-do-i-really-have-383620/)

GL1800 11-16-2005 06:31 AM

How many users do I REALLY have?
 
Look carefully at the output of the "w" command:
[ray@raymondjones ~]$ w
07:26:20 up 22 days, 22:49, 5 users, load average: 0.11, 0.13, 0.09
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
ray tty2 - 24Oct05 12days 32.59s 0.01s -bash
ray pts/1 :0.0 03Nov05 1:34m 1.74s 4:08 gnome-terminal
ray pts/2 :0.0 03Nov05 3:52 8.19s 8.16s ssh -X gordito
ray pts/3 :0.0 03Nov05 0.00s 3:22 0.00s w


Also, gkrellm shows 5 users. Somebody is clearly missing, here.
FC4 with no selinux running.

GrueMaster 11-17-2005 03:19 PM

Try typing "who". It will give you a different, but complete list of "who" is running stuff (other than normal daemon processes).

GL1800 11-18-2005 04:38 AM

Yup, and it shows 4 users, which is correct, though "who" doen't provide a user total. The ? remains, why would both w and gkrellm show 5?

[ray@raymondjones ~]$ who
ray tty2 Oct 24 09:37
ray pts/1 Nov 3 09:24 (:0.0)
ray pts/2 Nov 3 09:24 (:0.0)
ray pts/3 Nov 3 09:24 (:0.0)


All times are GMT -5. The time now is 06:52 AM.