How to know what users my droplet has?

April 5, 2018 2.1k views
Getting Started Initial Server Setup Ubuntu

I’ve added two users to my droplet and now I want to get the information about them. but I don’t know how.

1 Answer
eddiezane MOD April 5, 2018
Accepted Answer

You can run cat /etc/passwd to see a list of all users on the system. Your users will generally have a user ID higher than 1000.

  • Thank you. With your command I see the two users.

    Actually, I forget one user’s password and I will find ways to get it back after reading more docs.

    Have a good day.

Have another answer? Share your knowledge.