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

Re: [linux] Scripts



> Je suis à la recherche de sites ou je pourrais recuperer des scripts pour
> la creations d'utilisateurs (environs 150). Au depart j'ai un fichier
> contenant prenom et nom.
> N'etant pas tres doué dans les languages (Perl, shell) je pourrais toujours
> l'accomoder le script à mes besoins.

Jette un oeil a "newusers" (man newusers)
C'est livré avec le paquet shadow, donc tu l'as sur toutes les
distributions.

 newusers - update and create new users in batch
       newusers  reads a file of user name and cleartext password
       pairs and uses this  information  to  update  a  group  of
       existing  users  or  to create new users.  Each line is in
       the  same  format  as  the  standard  password  file  (see
       passwd(5)) with the following exceptions.

--
  -o) / Pascal Bleser                   ATOS Origin|
  /\\ \ e-Business Platform         Aachen, Germany|
 _\_v  \<guru@linuxbe.org> <pbleser@atosorigin.com>|
---------------------------------------------------|
Jesus saves, but Buddha makes incremental backups  :
---------------------------------------------------'

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://linuxbe.org/ml.php     ]
[ http://LinuxBe.org              Contact: listmaster@linuxbe.org  ]