Skip to main content

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

  • Aug 19, 2026 2:06 PM UTC
  • 8 replies
  • 193 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
  • Aug 19, 2026 3:34 PM UTC

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
  • Valued Contributor
  • Aug 20, 2026 7:02 AM UTC

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
  • Aug 20, 2026 7:08 AM UTC

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

 


yugandhar
Forum|alt.badge.img+1
  • New Contributor
  • Aug 20, 2026 9:11 AM UTC

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
  • Aug 20, 2026 9:25 AM UTC

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
  • Aug 20, 2026 9:29 AM UTC

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
  • Aug 20, 2026 9:32 AM UTC

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
  • Aug 20, 2026 9:34 AM UTC

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