LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2003, 11:49 AM   #1
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
Question Uptime - why 4 users


when I type the "uptime" command it says I have 4 users, even though I'm only logged in as myself with root occasionally. (my girlfriend has an account too but hasn't used it yet, & created a samba login which doesn't appear at sign in)??

what does it mean? am I being hacked?

le@linux:~> uptime
4:50pm up 8:30, 4 users, load average: 0.21, 0.19, 0.13
 
Old 10-14-2003, 12:15 PM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
services are sometimes listed as users and groups, I think... also, I think that includes the Root account... so, that's three... hmmm...
 
Old 10-14-2003, 12:55 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
no, it shouldn't, just do a 'who' command at the prompt that should show you who's logged in ans why 4 users
 
Old 10-14-2003, 12:56 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
it shouldn't mean yo've been hacked that is
 
Old 10-14-2003, 01:01 PM   #5
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
thanks, It looks like it reregisters me as a user if I go away for a while & then comeback.

bit strange really. oh well, thanks for that advice..

le@linux:~> who
le :0 Oct 14 08:29 (console)
le pts/0 Oct 14 08:29
le pts/2 Oct 14 16:38
le pts/3 Oct 14 18:02
 
Old 10-14-2003, 01:37 PM   #6
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
try the command users
*smiles* I managed to hack myself last night or i was overly schizo. Working on my ftpd, ircd, samba and apache i found out that i was logged in just 6 times.
Users:
kroppus kroppus kroppus kroppus kroppus kroppus

*didn't finish the config'ing last night either*
 
Old 10-14-2003, 01:40 PM   #7
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
users shows I'm logged in 4 times

why???????
 
Old 10-14-2003, 01:40 PM   #8
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
users shows I'm logged in 4 times

why???????
 
Old 10-14-2003, 01:41 PM   #9
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
users shows I'm logged in 4 times!!

why??

 
Old 10-14-2003, 01:42 PM   #10
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Original Poster
Rep: Reputation: 30
sorry about mutiple messages. not sure what happened.
 
Old 10-14-2003, 01:46 PM   #11
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Each terminal window will count to your users logged in...
 
Old 10-14-2003, 01:46 PM   #12
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
ok, well, like i said try 'who'
that will show who's on and from where
the output of who should look something like this

root tty1 Oct 14 11:45
root tty2 Oct 14 11:45
root ttyS0 Oct 14 00:52
root pts/0 Oct 14 00:51 (196.254.36.5)
root pts/1 Oct 14 00:52

the first columnt is easy enought to understand, that's the username
the second column is from where
tty1 <-> tty6 are your VCs
ttyS0 is a serial line terminal (in my case a WYSE monitor)
the pts terminals are xterms
the ip in parens (196.254.36.4) indicates a login via tcp/ip
those are the ones you should wory about if you don't reccognize the ips or don't login via tcp/ip or have anyone who does, in the example, it's just another machine on my LAN so it's ok
 
Old 10-16-2003, 09:05 AM   #13
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
tty1 <-> tty6 are your VCs

does this mean virtual console?
 
Old 10-16-2003, 09:45 AM   #14
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Type "w" instead of "who", and you'll see what these users are doing.

Otherwise, look at the pts/? and tty? connections you applications have in "ps auxf"
 
  


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
uptime shows 3 users on system when there is only me. Is this normal? MichaelD Linux - Security 3 05-22-2005 12:05 AM
24/7 uptime? jollyjoice General 20 01-25-2005 12:12 PM
uptime/users Cichlid Linux - General 3 09-18-2003 12:07 AM
why does 'uptime' report '2' users?? purpleburple Linux - General 6 08-07-2002 10:17 PM
uptime - 0 users? Sky Slackware 6 06-26-2002 01:03 AM


All times are GMT -5. The time now is 12:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration