Igor Akhnaton Kardush wrote:
> 
> Oi lista,
> 
> Existe, no Linux, algum flag para forçar o usuário a mudar sua senha de
> tempos em tempos. Eu sei que no WinNT é possível fazer isso, mas eu não
> encontrei nada parecido no Linux.

# man passwd

"   Password expiry information
       The password aging information may be changed by the super
       user  with  the -x, -n, -w, and -i options.  The -x option
       is used to set the  maximum  number  of  days  a  password
       remains  valid.   After max days, the password is required
       to be changed.  The -n option is used to set  the  minimum
       number of days before a password may be changed.  The user
       will not be permitted to change  the  password  until  min
       days  have elapsed.  The -w option is used to set the num­
       ber of days of warning the user will receive before  their
       password will expire.  The warning occurs warn days before
       the expiration, telling the user how many days  until  the
       password  is set to expire.  The -i option is used to dis­
       able an account after the password has been expired for  a
       number  of  days.  After a user account has had an expired
       password for inact days, the user may no longer sign on to
       the account."

[]s,
Bráulio Gergull

Assinantes em 20/03/2001: 2185
Mensagens recebidas desde 07/01/1999: 104518
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a