Passwd
From Bashlinux
How to setup user's password from a non-interactive command line
Just run the command
echo user:password | chpasswd
Note that user and password should be in plain text
Just run the command
echo user:password | chpasswd
Note that user and password should be in plain text