Skip to main content

Hi There, i would like to change local admin password via jamf, is that possible

  • August 19, 2026
  • 8 replies
  • 78 views

Jayakumar
Forum|alt.badge.img+1

Hi There, i would like to change local admin password via jamf, is that possible

8 replies

angryant
Forum|alt.badge.img+5
  • Contributor
  • August 19, 2026

If it is the admin account created by JAMF then yes, see the guide here: Managed Local Administrator Accounts • Jamf Pro Documentation 11.31.0 • Jamf Learning Hub 


agungsujiwo
Forum|alt.badge.img+10
  • Contributor
  • August 20, 2026

Hi ​@Jayakumar ,

Could you clarify whether you want to change the password for a local administrator account that you created yourself, rather than the _cadmin account managed by Jamf?

If so, there are a few conditions you need to check first.

  • If the administrator account does not have a Secure Token enabled, you can use a Jamf policy with the Reset Password for a Local Account option.
  • If the administrator account has a Secure Token enabled, you can use the following command:

sudo dscl . -passwd /Users/admin oldpassword newpassword

Make sure to replace admin, oldpassword, and newpassword with the appropriate values.


Jayakumar
Forum|alt.badge.img+1
  • Author
  • New Contributor
  • August 20, 2026

i have a local account with file vault, encrytion enabled, is there any impact ?

 


yugandhar
Forum|alt.badge.img+1
  • New Contributor
  • August 20, 2026

Hello Jayakumar, 

There are 2 scenarios

  1. Local Admin account created in Pre-stage Enrollemnt. 
  2. Account created by managed jamf, which is under user-initaited enrollemnt. 

The 2 option password is auto rotatble

In 1st option if admin account Filevault encryption enabled, then dont try to rotate the password. Try with command to change the password. 

sudo dscl . -passwd /Users/admin oldpassword newpassword

 


Jayakumar
Forum|alt.badge.img+1
  • Author
  • New Contributor
  • August 20, 2026

this account we have created as locally before enrolling JAMF, that account password can be changed?
also, for security reason can rotate right


yugandhar
Forum|alt.badge.img+1
  • New Contributor
  • August 20, 2026

That account password can be changed. 

Ofcourse you can make it rotatable unless file vault encryption is not enabled for that account. 

If file vault encryption is enabled then rotatable password will not work.  


Jayakumar
Forum|alt.badge.img+1
  • Author
  • New Contributor
  • August 20, 2026

Ohh, we have enabled File Vault and encryption, so it won’t work.
in Prestage we can create local account and use it, Thanks


yugandhar
Forum|alt.badge.img+1
  • New Contributor
  • August 20, 2026

For onetime password change it will work. If you enabled rotatable then only it wont work.