+ Post New Thread
Results 1 to 5 of 5
*nix Thread, CentOS User help in Technical; Hi, I want to see a list of all users on a system, not just logged in ones. Is there ...
  1. #1
    Messa's Avatar
    Join Date
    Dec 2006
    Location
    Wolverhampton
    Posts
    301
    Thank Post
    67
    Thanked 29 Times in 25 Posts
    Rep Power
    22

    CentOS User help

    Hi,

    I want to see a list of all users on a system, not just logged in ones.

    Is there a command to list these.

    Thanks in advance

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227
    Code:
    getent passwd

  3. Thanks to Geoff from:

    Messa (16th September 2008)

  4. #3
    Messa's Avatar
    Join Date
    Dec 2006
    Location
    Wolverhampton
    Posts
    301
    Thank Post
    67
    Thanked 29 Times in 25 Posts
    Rep Power
    22
    Are the ones with /bin/bash/ the actual users created by me or an admin of the system?

    Thanks

  5. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227
    uid's under 1000 are system accounts. Over 1000 are local user accounts and/or NIS/YP accounts. Over 10000 or so are usually samba generated accounts (if you use it).

  6. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,867
    Thank Post
    412
    Thanked 778 Times in 651 Posts
    Rep Power
    182
    /bin/bash refers to the shell that they will start off with when they log in.



SHARE:
+ Post New Thread

Similar Threads

  1. CentOS & KS3 ICT Tests
    By mortstar in forum *nix
    Replies: 7
    Last Post: 11th May 2009, 05:32 PM
  2. Virutal Machine And CentOS
    By My220x in forum *nix
    Replies: 34
    Last Post: 18th July 2008, 07:11 AM
  3. User / user manager problem after migration
    By SimpleSi in forum EduGeek Joomla 1.5 Package
    Replies: 5
    Last Post: 9th June 2008, 11:57 PM
  4. Replies: 0
    Last Post: 17th February 2008, 01:58 AM
  5. User areas + User share permissions.
    By Dos_Box in forum Windows
    Replies: 6
    Last Post: 11th September 2007, 12:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •