Creation Date of Solaris User

Hi,
I am using Solaris 10. How could I find when a solaris user was created?

thanks and regards

afaik you cannot, if you did that using plain passwd/shadow files related commands

I don't think there is a way to find this information either. However, you could use the 'last' command to get an approximate date the userID was created. Try this:

last | grep userid | tail

A problem with this is the wtmpx file would need to be quite large to find a user created several years ago.

HTH

This is easy if the user database is stored on an ldap directory.

I you have "wtmp" since the beginning of time, the "last" command does not output the year though the data is in the file and can be extracted with.

ls -ladtr ~username/.??*