Ubuntu change password in one command line

echo user:pass | /usr/sbin/chpasswd

according to https://serverfault.com/questions/336298/can-i-change-a-user-password-in-linux-from-the-command-line-with-no-interactivit

One response to “Ubuntu change password in one command line”

Leave a Reply

Your email address will not be published. Required fields are marked *