Multi-users add for linux! Help me!!!!
My problem is that now I have a userlist.ext file which includes over 1000 peoples, the format is
Username:Password:Groupname:Fullname. Now I want to creat a script on linux redhat 9 and the script will read the userlist file and check the new user's information one by one.if the user information is valid, it will create the account for the user and write the account information to a report file,I want to the report file's format is User_fullname:Account_name:user_id:group_id;created_date
if the new user's information is invalid, it will not create the account for the user. and the error information will be reported to me.
Please give me some hints if you know!!