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

Re: passwd --stdin




FIX Jerome a écrit :
> Bonsoir,
> 
> J'essaie de créer un script pour créer des comptes de façon plus ou moins 
> automatique.

Utilise plutot mkpasswd --hash=md5 ton_mot_de_passe
J'ai aussi buté là dessus. J'ai donc utilisé un simple:
useradd blah blah -p `mkpasswd --hash=md5 lemotdepass` le_nom_du_compte

En esperant t'avoir aidé, bonne nuit.

-- 
Auzanneau Grégory
GPG 0x99137BEE

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: