[Serusers] Howto add many users.

PREVOT Paul prevot at enseirb.fr
Thu Apr 6 16:40:46 CEST 2006


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 at mydomain
serctl add user2 123456 user1 at mydomain
serctl add user3 123456 user1 at 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 at iptel.org [mailto:serusers-bounces at lists.iptel.org] De la
part de lei_lei at gmx.net
Envoyé : jeudi 6 avril 2006 15:29
À : serusers at 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 at mydomain
ich need to enter the password per hand.
So, howto can i do it quickly?

Thanks

Lei

_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list