Passwd
From Bashlinux
passwd
Setup user password from 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