What about a small shell script that generates an other shell script
containing 1 "serctl add " line per user?
add_user.sh:
serctl add user1 123456 user1@mydomain
serctl add user2 123456 user1@mydomain
serctl add user3 123456 user1@mydomain
...
./add_user.sh
It won't take too much time if you have your file is easy to parse to get pw
and username.
Paul
-----Message d'origine-----
De : serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] De la
part de lei_lei(a)gmx.net
Envoyé : jeudi 6 avril 2006 15:29
À : serusers(a)lists.iptel.org
Objet : [Serusers] Howto add many users.
Dear All,
i have many users to add to my mysql. But if i use e.g.
serctl add user1 123456 user1@mydomain
ich need to enter the password per hand.
So, howto can i do it quickly?
Thanks
Lei
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers