Request : set passwords for many users [user accounts exist] using a shell script
I have user accounts[temporary accounts used for conducting quizes] defined in /etc/passwd & /etc/shadow files.
As Administrator, I wish to set password for user accounts [say 100 in number] in bulk using a shell script. The shell script should read input from a text file containing <userid, and password in ascii text> and it should update the /etc/shadow or /etc/passwd file accordingly.
|