Imported from the Apple Support Forums via the Wayback Machine 🔗
We have about 150 plus Macs that are in about 15 different buildings around campus that we maintain. Each one has a local admin account for desktop support personnel to log into. We would like to change the password on that account without going around and touching each computer. Can this be done in ARD with the 'Send Unix' command? If yes, how?
Imported from the Apple Support Forums via the Wayback Machine 🔗
dscl . -passwd /Users/username password
Try that out... it comes in handy if for some reason you don't have an admin account on a machine that you have access to in ARD. You can change user account passwords (including admin accounts) and login.
0
Rebus·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Can seem to get it to work...
0
Templeton Peck·
Imported from the Apple Support Forums via the Wayback Machine 🔗
send this easier command:
passwd username
newpassword
newpassword
0
Ken_Edgar·
Imported from the Apple Support Forums via the Wayback Machine 🔗
that suggestion doesn't seem to work in Leopard atleast... If this doesn't work, try copying my entry above and pasting it into ARD send unix command. It needs to be run as root as well... I forgot to say that.
0
Rebus·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Got it to work...
Needed to send the command as Root
I do have some question though...
what is dscl
How is ARD executing commands if Root user is not enabled and even if it is enabled, how is it authenticating?
0
Templeton Peck·
Imported from the Apple Support Forums via the Wayback Machine 🔗
*"that suggestion doesn't seem to work in Leopard atleast"*
I just sent the command to a Leopard server running 10.5.4 and it worked fine.
0
Ken_Edgar·
Imported from the Apple Support Forums via the Wayback Machine 🔗
sorry bro, I'll have to try it again. Thanks
0
Ken_Edgar·
Imported from the Apple Support Forums via the Wayback Machine 🔗
dscl = Directory Service command line utility
from terminal if you type "man dscl", you will get the manpage for it... basically it will tell you what it is for, and all the options you can use. This comes in very handy for many other things as well...