Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If you were to run pwdadm -c against a user account and it clears the flags from /etc/passwd; what would those cleared flags stop from happening?

share|improve this question

1 Answer 1

Per the man page, here are the flags which pwdadm -c might remove:

NOCHECK
    Signifies that new passwords need not follow the guidelines 
    established in the /etc/security/user file for password composition. 
ADMIN
    Specifies that password information may be changed only by the
    root user. Only the root user can enable or disable this attribute. 
ADMCHG
    Resets the ADMCHG attribute without changing the user's password.
    This forces the user to change passwords the next time a login
    command or an su command is given for the user. The attribute is 
    cleared when the user specified by the User parameter resets the 
    password. 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.