Results 1 to 9 of 9

Thread: List users

  1. #1
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    List users

    What is the command to show the users set up on an Ubuntu Server?

    Thanks
    Rush Blue

  2. #2
    Join Date
    May 2008
    Beans
    27

    Re: List users

    You could get that info by doing:

    # cat /etc/passwd

    or

    # lastlog

    which will give you a list of every single user plus the last time they logged in (or "never logged in" if that user had not logged in ever).

  3. #3
    Join Date
    Jun 2008
    Beans
    56

    Re: List users

    Look at /etc/passwd

  4. #4
    Join Date
    Oct 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: List users

    Thank you both very much.
    Rush Blue

  5. #5
    Join Date
    Aug 2010
    Location
    Austin, TX
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: List users

    thank you

  6. #6
    Join Date
    Apr 2011
    Beans
    1

    Re: List users

    Thanks

  7. #7
    Join Date
    Aug 2011
    Location
    San Diego, CA USA
    Beans
    1

    Re: List users

    # lastlog <--- very nice command. Thanks!

  8. #8
    Join Date
    Dec 2004
    Beans
    20

    Re: List users

    Quote Originally Posted by jamesdouglas View Post
    # lastlog <--- very nice command. Thanks!
    sure! very usefull

  9. #9
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

Bookmarks

Posting Permissions

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