Thursday, December 29, 2005

Remotely change Admin password

This can be done via either ssh-ing into the target machine, or by using Apple Remote Desktop’s “Send UNIX” command when & if, God forbid, you need to change the Admin password. Of course, replace the values in the brackets with your own usernames, passwords, shortnames, etc.


dscl -u adminusername -P adminpassword localhost -passwd NetInfo/Users/shortname  oldpassword  newpassword

Followers

about me

10 Years in Advertising (Account Exec), and 14 Years in I.T./System Administration (multi-platform, but specializing on the Mac platform).