Originally posted by: AncientAIXer
If last returns an empty result, that usually means that the user has never logged in. Some hints that might lead you in the right direction:
The last time a user logged in is recorded in the /etc/security/lastlog file as time_last_login. It is the epoch date. If there is no stanza for the user, the account has never had any login activity, but a stanza could be there if the user has never successfully logged in.
Another indication of no activity is if the user has been added and a password set for them which has to be changed at first log in, there will be an "ADMCHG" in the flags attribute in the user's stanza in /etc/security/passwd.
#AIX-Forum