Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-20-2005, 05:19 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
user count

ok ao i suck at linux... i need to count all the users in the system?
Old 10-20-2005, 06:28 AM   #2
Registered: Sep 2004
Distribution: Slack!
Posts: 150

Rep: Reputation: 15
That depends on your definition of a "user" - there are quite a few users that are built-in for various daemons for security reasons. Check out your /etc/passwd file - that is the authoritive listing of all of the users on your system. If the number in the second column is <100 then it is a built-in system account, if it is >=100 then it is a "real" user account


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
Count of two columns vimal480 Programming 1 04-16-2005 02:25 AM
Why isn't my reviews count going up vharishankar LQ Suggestions & Feedback 3 09-25-2004 03:43 PM
word count pantera Programming 2 08-31-2004 07:23 AM
Should posts in general count on your post count? Joey.Dale General 16 01-27-2004 01:31 AM
dd: bs=2X , count=?X adam_boz Linux - General 3 10-27-2002 07:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 AM.

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