修改Linux密码
CHPASSWD(8) System Management Commands CHPASSWD(8) NAME chpasswd - update passwords in batch mode SYNOPSIS chpasswd [options] DESCRIPTION The chpasswd command reads a list of user name and password pairs from standard input and uses this information to update a group of existing users. Each line is of the format: user_name:password
例:
echo "test:d7IPtEX7y#a5^B&" | chpassd