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 thought on “Ubuntu change password in one command line

发表评论

您的电子邮箱地址不会被公开。