Need to login to 125 macs with local user at once - unix command?

Is there any way to login into the local admin account on all these imacs from ARD using command line

Mac OS X (10.5)

Posted on Oct 16, 2009 4:56 AM

Reply
3 replies

Oct 16, 2009 6:19 AM in response to Thinksupport@mac.com

Assuming the Mac is sitting at the login screen, with cursor blinking in the name field, send the following as Root user:

osascript <<EndOfMyScript
tell application "System Events"
keystroke "username"
keystroke return
delay 3.0
keystroke "password"
delay 3.0
keystroke tab
keystroke return
keystroke return
end tell
EndOfMyScript


http://www.macos.utah.edu/documentation/miscellaneous/remoteguilogin.html

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Need to login to 125 macs with local user at once - unix command?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.