Hope it helps to some people who struggled with it ) Select account_status from users where where user_id = 'X'Īnd then proceed login the user with 'changeme' password. JAMF PRO RESET USER PASSWORD UPDATEUpdate users set password='$s0$e0801$g35KnToEUFe0+BSL1ziK2g=$7U0HHYJ8WyDadoyzxomO9CFTJCO8JAFbRgduVP5qzSw=', salt='NmUeqSwHagk=' where user_id='X' It will be look like that : select user_id,username from users where ldap_server_id='-1' So you'll need to change the key inside 's command. Instead I made a new working hash key : '$s0$e0801$g35KnToEUFe0+BSL1ziK2g=$7U0HHYJ8WyDadoyzxomO9CFTJCO8JAFbRgduVP5qzSw=' JAMF PRO RESET USER PASSWORD PASSWORDInstead the user broke and I got error 400 on this user, no matter what password I tried to login with (right/wrong) on the web admin console. The hashed key : 'k0q5CnA9xV7aJZvH4G5RO5SYSWgOkXug362mjSgjikFqBRa0d2g8pP6zKI971RQVFzDQcKXzMyniB9C0LsMwHg='įor 'changeme' passwrord didn't work for me. KHN0ZGluKT0gMmQ3NmE1YWFhOWExM2FmODk0NjNiZGM4ZDJmMjdiNjRlMTc1YWI5MWY0MGU3YTE2ZmRlNmNjNGNmMGQyMWIzOTQwZjA0YzhlMjVkMDNiZjY1OGQ2ZGI0M2Y4YjhlZTUyNjMyMjFjMmU1YmJjZDkwNmUzNmYzZTlkYWI3OGMzYjkKĪm I missing something? If this is using AES-256 or something, I don't want to change the password to the wrong thing and have it not work. $ echo -n "changeme$changeme" | openssl dgst -sha512 | base64 # password + salt hashed with sha512 and then put into base 64 $ salt=`echo -n "NmUeqSwHagk=" | base64 -D` And it looks like it's stored in base64? # decode the salt from base64 It looks like the password is SHA512 according to the documentation. However, I'm confused from where the password and salt came from. I need to do this too because I mistyped the admin password during setup and now can't get in. Update your LDAP account password by going to System Settings>LDAP Servers Change the temporary password immediately by going to System Settings>JSS User Accounts & Groups.ġ8. Log onto your JSS with the user ID obtained from the above section and enter "changeme" as the password. Close the MySQL 5.6 Command Line Client.ġ6. Select account_status from users where where user_id = 'X' ġ5. Update users set password='$password', salt='$salt' where user_id='X' Select user_id,username from users where ldap_server_id='-1' Take note of the one you would like to reset to "changeme." Type in the following: The below command will return the user ID for each local JSS user account created.Type in the password you specified in Step 7 - your_password_here - and hit Enter.Go to Services.msc and restart the MySQL56 service.Re-open the my.ini file and comment out the "skip-grant-tables" string by placing a "# " in front of the string.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |