need to see all users who has access to droplet(debian 9) how?

September 8, 2018 277 views
DigitalOcean

Hello ,

i need to see who has access to my droplet and with what access. How to see it ?

once i remove the users they can' t access to db anyamore, correct? Or there is a separate login? thank you

1 Answer

To see all users on your system you can use the following command.

cat /etc/passwd

As for your database, depending how you have setup the DB there my be user permissions still active there. Follow your databases documentation on listing and removing users.

Have another answer? Share your knowledge.