Posted on 07-20-2021 02:50 AM
My m1 MacBook is using policies for local accounts in the local account, and resetting the account password did not work.
log status Failed.
Error resetting password for user xxxx
Posted on 07-20-2021 05:36 AM
@user-CMSpwyxONO You can't reset the password if it's the only account with a Secure Token
Posted on 07-23-2021 12:10 AM
Do you mean I need to activate Filevault and get a secure token to reset passwords?
Posted on 07-20-2021 01:46 PM
You may have better success with the changePassword command. Assuming you know the old password on the account.
/usr/local/bin/jamf changePassword -username "<USERNAME>" -password "<NEWPASSWORD>" -oldPassword "<OLDPASSWORD>"
07-23-2021 12:11 AM - edited 07-23-2021 12:12 AM
I don't know the old password, and the user also forgot too.
Posted on 07-26-2021 05:20 AM
That could be an issue. Have you tried the usual Apple supplied methods of password recovery (Apple ID, Other admin user, FileVault recovery key and Terminal 'resetpassword' while booted from Recovery) or are these not an option?
Posted on 11-02-2021 02:30 PM
I can't afford to use any solutions - command or script - where password is visible for everyone who has access to JSS and can review policies and scripts...