curl -u admin:<OLD PASSWORD> -Fplain=<NEW PASSWORD> -Fverify=<NEW PASSWORD> -Fold=<OLD PASSWORD> -FPath=/home/users/a/admin http://HOST:PORT/crx/explorer/ui/setpassword.jsp
If you want to set it from interface then you can do it by going to
http://localhost:4503/libs/granite/security/content/userEditor.html. In search box search for Admin. You will change the password after you select the user. Change the password as required.
Source: https://cqwemblog.wordpress.com/2014/08/21/how-to-change-admin-password-for-cq-5-6-using-curl/
No comments:
Post a Comment
If you have any doubts or questions, please let us know.