How to list all user names on Solaris 10

solarisusers

I forgot a user that I created on solaris 10, so now I would like to list all user names on my server.

Is it possible (I am root user)? What command I should use if possible?

Somewhere on the net I read getent will list all usernames of a group. I have tried getent without a group as I do not remember group also, but got error message (getent databse usage ..)

Best Answer

getent passwd will list all known users, not only those present on the local /etc/passwd file.

Related Question