Looking to Create User Accounts Using Batch Load Script
Hi All,
I am new to Linux, just took a 101 class. I have a .sxw list of users with lastname, firstname and I am looking to create accounts for each user, putting the list of users into two groups, using a utility (script) to batch load the list of names into the groups. Is there a script that can be written to do this? Any help will be appreciated. |
clearly not an intro. moved to Linux - Newbie.
|
That .sxw file will (prob) have formatting codes in it. Extract the list as plain text, then build a bash script around the useradd cmd:
man useradd |
Quote:
useradd -p qwe user => this puts "qwe" in the shadow file who knows wich keyword gould be casted to qwe after encryption? so new users cant login.. |
All times are GMT -5. The time now is 07:48 PM. |