Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Deep_Thought

macrumors 6502
Original poster
Oct 13, 2008
451
31
I need to update the local admin password on all our client machines, ranging from 10.7 to 10.9..

I've seen the Unix command - dscl .-passwd /Users/admin oldpassword newpassword but that gives me a Cannot open remote host error...

Am I missing something?

Cheers
 

chrfr

macrumors G5
Jul 11, 2009
13,709
7,280
I need to update the local admin password on all our client machines, ranging from 10.7 to 10.9..

I've seen the Unix command - dscl .-passwd /Users/admin oldpassword newpassword but that gives me a Cannot open remote host error...

Am I missing something?

Cheers

There should be a space after the dot so that you have:
Code:
dscl . -passwd /Users/username oldpassword newpassword
 

Deep_Thought

macrumors 6502
Original poster
Oct 13, 2008
451
31
Hmm now getting this:

Error: -71 "<dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

Any ideas?

Thanks

Scrub that - it worked!

THanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.