1855729 Members
2256 Online
104103 Solutions
New Discussion

Non-active account.

 
Angelo Mercieca
Occasional Contributor

Non-active account.

How can I list the /etc/passwd file and get a list of user accounts that have been deactivated and the reason they have been deactivated? (i.e to many password retries, inactive for to long etc)
2 REPLIES 2
Isralyn Manalac_1
Regular Advisor

Re: Non-active account.

Hi Angelo,

I assume your system is trusted. The account information can be derived from /usr/lbin/getprpw. man getprpw

Regards,

Isralyn
Warren_9
Honored Contributor

Re: Non-active account.


"passwd -r files -s -a"