man passwd

   Account maintenance
       User accounts may be locked and unlocked with the -l and -u flags.
       The -l option disables an account by changing the
       password to a value which matches no possible encrypted value.  The
       -u option re-enables an account by  changing  the
       password back to its previous value.


passwd -l login
passwd -u login

Ricardo

On Mon, 29 Dec 2003, nod3vic3 wrote:

>
> Algu�m sabe como bloquear um usu�rio temporariamente
> (aquele usu�rio que n�o pagou a mensalidade) no linux,
> sem alterar a senha do mesmo.
>
> Leandro
>
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a