Benches Deployment and MDM

2

Change Admin Password in Terminal with Apple Remote Desktop

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello all,

I would like to change the password through terminal using remote remote desktop.

I'm fairly new with unix so i would like to know how to be able to change the current admin pass and set a new password.

i know the unix command:

passwd administrator

but how can i input the new password?

I am planning to send this unix command to multiple machines so the admin pass can be changed at the same time.

please help.

thanks

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    Templeton Peck

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    but how can i input the new password?

    passwd administrator

    newpassword

    newpassword

  2. 0

    Miguelone

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I got it to work! it's so simple.

    Just needed to add the old password.

    so:

    passwd administrator

    oldpassword

    newpassword

    newpassword

    thanks so much!