2
votes
4answers
2k views

Linux: disabled user accounts: Is there a non-root shell command that can show if an account is disabled or not?

Is there a non-root shell command that can tell me if a user's account is disabled or not? Please note that I make a distinction between LOCKING and DISABLED: LOCKING is where you prepend ! or * or ...
2
votes
2answers
6k views

How to disable an LDAP account?

The LDAP uses the posixAccount schema and related attributes and I wonder if there's a standardized way to disable an account. Re-enabling the account should obviously re-enable the former password. ...