Results 1 to 2 of 2

Thread: is there a command to find out all valid usernames?

  1. #1
    Join Date
    Jul 2008
    Location
    Palampur Himachal India
    Posts
    16

    Default is there a command to find out all valid usernames?

    hi
    i am just trying to figure out is there any command in linux which can tell the registered usernames on the system?

    Like on KDE login screen, you can see all the usernames which are created, can we have the same information in linux commandline terminal also?

    thankx!
    Experience is a hard teacher. She gives the test first and the lessons afterwards!!

  2. #2
    ab@novell.com NNTP User

    Default Re: is there a command to find out all valid usernames?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    `getent passwd`

    Good luck.





    tonytons wrote:
    | hi
    | i am just trying to figure out is there any command in linux which can
    | tell the registered usernames on the system?
    |
    | Like on KDE login screen, you can see all the usernames which are
    | created, can we have the same information in linux commandline terminal
    | also?
    |
    | thankx!
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIckK43s42bA80+9kRAsXgAJ9Nm3TqH/xZAXoPKZ2GLFPPtrvZ8wCeKMrs
    0AASAG+kFwUj2TTF//SHcTY=
    =/Ci9
    -----END PGP SIGNATURE-----

Posting Permissions

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