Skip to content

How to Change the Password

Qi Luo edited this page Aug 24, 2018 · 2 revisions

Please use below command line to change specific user's password. You should have sudo privilege to run it.

echo USER:$(LANG=C perl -e 'print crypt("PASSWORD", "salt"),"\n"') | sudo chpasswd -e

USER is the user name, for example 'admin'. PASSWORD is the new password for the user.

Clone this wiki locally