HOWTO change passwords without a prompt under Linux
HOWTO change passwords without a prompt under Linux

Purpose: This is a command that I've overlooked for many years. I always wanted to know how to change a password without having to confirm, reconfirm and possibly have to deal with the minimum requirements prompt as well. The following must be run as root:
# echo "user:password" | /usr/sbin/chpasswd
chpasswd normally looks for a file in the format of user:password, however for simply changing a single users' password, echoing it and piping it to chpasswd will work perfectly. You must be root to use this even if you are changing your own password and root may change the root password also. This program is good for changing of many users passwords across multiple systems or possibly using suEXEC to allow changing of passwords through a web interface.

comments? chpasswd@cdevco.net