O que faz o efeito pwdadm -c?

1

Se você tivesse que executar o pwdadm -c em uma conta de usuário e limpar os sinalizadores de / etc / passwd; o que aquelas bandeiras apagadas parariam de acontecer?

    
por ElSwanson 08.04.2011 / 16:32

1 resposta

2

Na página man, aqui estão os sinalizadores que pwdadm -c pode remover:

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. 
    
por 09.04.2011 / 21:23