LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Automate adding users and passwords (http://www.linuxquestions.org/questions/linux-security-4/automate-adding-users-and-passwords-534106/)

linuxy2 03-03-2007 01:59 AM

Automate adding users and passwords
 
At linux box i have to add 300 users id with their userid/passwd
is it possible to make it automate using useradd command like this:
useradd test -p password
I tried this command but not accepted the password and I need to use this command:
passwd test
for all users really this process will be very tuff
Please if any one can help me in this..... Please

sn68 03-03-2007 02:32 AM

This may help
How to create number of users and passwords automatically


All times are GMT -5. The time now is 03:33 AM.