Setting the Linux Password from a Script

Use a command like this…

echo $PASSWORD} | passwd –stdin ${USERNAME}

Comments are closed.