System administration command. Change user passwords in a batch. chpasswd accepts input in the form of one username:password pair per line. Unless the -e option is specified, password is encrypted before being stored. This command doesn’t use PAM. It updates the /etc/passwd and /etc/shadow files.
Passwords given are already encrypted.
Use MD5 Encryption