macos 10.14 jamfpro could not reset password

datayesit
New Contributor

d4dcf28752e54cf1b96e685bea707a92
macos 10.14
jamf pro 10.7.1-t1536934276
I have a policy to reset my group computers admin password ,but it could not work now

1 REPLY 1

sshort
Valued Contributor

The Jamf binary uses dscl to reset passwords, and there's been quirks with that method since High Sierra introduced secureToken. I would create a policy that uses sysadminctl to change the password. It force creates a new Keychain, as well.

sudo sysadminctl -adminUser AdminUserHere -adminPassword AdminPasswordHere -resetPasswordFor UserToBeResetHere -newPassword NewPasswordHere