Greetings, any ideas here would be great, I have a situation where our network is entirely dialup, we are sending stacks of new computers out and I spend so much time loading them I don't get to other tasks, I want to script the creation of my default configs, the problem is the default users on the system, I am currently trying with a for loop:
>>>>>>>>>>>>>>>>> for i in `awk '{print$1}' autousers` do useradd -d /u/$i -m -s /bin/sh -p `awk '{print$2}' autousers` $i done >>>>>>>>>>>>>>>>>>>>
The problem here is the autousers file, the aim is to have a file that looks like this: charlie 'encrypted passwd here' angie 'encrypted passwd here' etc so I can add new users to the file and all the new boxes will go out with the usernames and passwds already created. I can use NIS or anything similar as these boxes are all on dialin to our central server. How can I reconstruct this or another script to get the job done? Any suggestions would be hugly appreciated, TIA -- Chadley Wilson Redhat Certified Technician Cert Number: 603004708291270 Pinnacle Micro Manufacturers of Proline Computers ==================================== Exercise freedom, Use LINUX =====================================