LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2004, 04:50 PM   #1
buldir
Member
 
Registered: Mar 2004
Location: Fairbanks, AK USA
Posts: 135

Rep: Reputation: 15
Multiple users with the same name...users command


This is probably a very simple question. Why is it when I type "users" in the command line, it shows my user name 2-5 times? Thanks.
 
Old 08-30-2004, 05:26 PM   #2
slide-rule
Member
 
Registered: Jan 2004
Location: New England area, US
Distribution: Mandrake 9.2
Posts: 39

Rep: Reputation: 15
"users" will print each user with a login session somewhere on the system. If you login to X in normal multi-user mode, then pull up a terminal window, you'll see yourself twice or so. (refer to 'info users' on a command line, if you have it available to you.)
 
Old 08-30-2004, 05:34 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That is how many times the user is logged into the host.


Normally this is read from /var/run/utmp

Last edited by DavidPhillips; 08-30-2004 at 05:38 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple users....and they're all me!? R00ts Linux - General 6 12-15-2004 12:54 AM
Multiple Users TheFather Linux - Newbie 3 11-21-2004 08:02 AM
multiple users windowsrefugeeX Linux - Software 2 08-21-2004 09:49 PM
[FC2]Why does the users command display multiple users? Harkov Fedora 1 07-10-2004 10:24 PM
Multiple users..... starea1 Linux - Security 3 01-29-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:00 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