Originally Posted by EricTRA
If you only want to collect the usernames of all users on the system, have a look at /etc/passwd, the username is in the first column and the data are seperated by :
Is that what you're looking for? Hope it helps.
Thanks for your reply,
But my requirement is different. For my applications purpose I need to check user names and UID from below solaris files
from these files I need to get user name, UID and role.
In linux we have /etc/passwd and /etc/shadow but I don't know where is /etc/user_attr. What is the equivalent of this file.