Is there a way to create a unix user/passwd script that reads from a flat file? I am unsure if it would be possible to add the passwd since you are prompted to add the new password and then confirming the new password. For example the flat text file would have a user and password column:
login1assword1
login2assword2
..etc
When executing the script it reads off that file and does a useradd login1 and passwd login1 for each entry. Any help on this would be greatly appreciated.
login1assword1
login2assword2
..etc
When executing the script it reads off that file and does a useradd login1 and passwd login1 for each entry. Any help on this would be greatly appreciated.