LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-16-2005, 06:31 AM   #1
GL1800
Member
 
Registered: Jun 2005
Location: Lilburn, Ga
Distribution: FC5
Posts: 175

Rep: Reputation: 30
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.
 
Old 11-17-2005, 03:19 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Try typing "who". It will give you a different, but complete list of "who" is running stuff (other than normal daemon processes).
 
Old 11-18-2005, 04:38 AM   #3
GL1800
Member
 
Registered: Jun 2005
Location: Lilburn, Ga
Distribution: FC5
Posts: 175

Original Poster
Rep: Reputation: 30
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
How to remove Mandrake Galaxy Theming for all users and all new users. Zombie_Ryushu Mandriva 0 01-04-2005 05:38 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 09:24 PM
How to set a Gnome theme as default for all users and future users ? MDesigner Linux - Newbie 1 06-28-2004 11:12 AM
copying kde configuration for 2 users OR 2 users on 1 x session for vnc blackphiber Linux - General 0 02-26-2004 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration