Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So if I type users from the CLI

it lists:

user user user user user

If I recall correctly, I've never had that many.

Is this normal?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Each terminal or SSH login adds another entry to the users list. So if you are 'user' you probably have another four terminals opened and/or SSH sessions.

share|improve this answer
    
OMG, I never knew that, but D'uh!!!! That makes so much sense. –  TryTryAgain Mar 22 '12 at 7:42
    
Maybe you should note that each login shell is added. As some terminal emulators may run multiple tabs in one login shell and thus be added only once. –  Legolas Mar 22 '12 at 10:15

We do a normal login to system

as well as we also open peudo terminals

or even login from another consoles

or even use remote ssh logins as mentioned in previous answer

So when we issue users command the number of user names shown is equal to all normal login and pseudo terminal or consoles open in ownerhip of same users.

you can try the command who to see exactly and know different places from where you have logged in with same user.

And yes this is default behavior so do not worry

share|improve this answer
    
Yes, who helps answer a bit of this followup I just posted: askubuntu.com/questions/115029/… –  TryTryAgain Mar 22 '12 at 7:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.