The -S flag prints the account's password status: L for locked, P for a usable password, and NP for no password at all. The output also shows the last change date and aging policy. Use it before locking or unlocking accounts to see where they stand.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.