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

Re: Batch adduser



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.

-- 
Mail 	   : Bounga at altern.org
Clef GPG   : http://linuxpower.free.fr/bounga.asc



Reply to: