[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Batch adduser



Le 6/01/03 20:50, « Nicolas C. » <Bounga-NO_SPAM@altern.org> a écrit :

> Le lundi 06 janvier 2003 à 19:28, vivanno écrivait :
> 
>> Pareil on ne peut pas passer un mot de passe en ligne de commande :((
> 
> Si on peut :
> 
> useradd [-c comment] [-d home_dir]
>              [-e expire_date] [-f inactive_time]
>              [-g initial_group] [-G group[,...]]
>              [-m [-k skeleton_dir]] [-p passwd]
>              [-s shell] [-u uid [ -o]] login
> 
> -p passwd
>    The encrypted password, as returned by crypt(3).  The default is
>    to disable the account.
> 
> # apt-cache search crypt
> 
> <snip>
> mcrypt - Replacement for old unix crypt(1)
> 
> Même avec ça tu ne peux pas faire ce que tu veux ?
> 
> Bon courage.

Ben l'option -p je ne l'avais pas vu comme ça! ;-) sorry
Je vais cherche dans cette direction! merci!




Reply to: