Page 1 of 1
First time SSH user. TOP reports 2 users?
Posted: Tue Aug 28, 2012 8:22 pm
by bigdavethehorn
Hello, I'm using a default XBian install and I managed to SSH into my Pi tonight for the first time.
The only Linux command I know is TOP, and it reports that my Pi has 2 users. Who are they?
I logged in using root & raspberry so I'm guessing that one is the Root account, which I think is like the Admin account on a Windows PC, but who is the other?
Re: First time SSH user. TOP reports 2 users?
Posted: Tue Aug 28, 2012 8:40 pm
by bredman
For a list of the current users, try the command
users
I would expect it to return
root root
to show that user root is running two sessions. One will be the ssh session and the other will be the basic operating system.
If you want to learn some more commands, try reading the Command Line Clinic articles in the free MagPi magazine
www.themagpi.com
Re: First time SSH user. TOP reports 2 users?
Posted: Tue Aug 28, 2012 8:51 pm
by bigdavethehorn
The users command does indeed return Root Root, thanks!
I'll have a look at the link you supplied, thank you.
Re: First time SSH user. TOP reports 2 users?
Posted: Tue Aug 28, 2012 9:00 pm
by jojopi
Commands that may show more detail about how the users are logged in include "w", "who", and "finger". (I do not know what is installed in XBian, but I would expect at least the second to work, if "top" does.)