Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Remote Desktop: any way to login to multiple computers with one command?

any way to login to multiple computers with one command?

Posted on May 10, 2011 7:14 AM

Reply
Question marked as Best reply

Posted on May 26, 2011 1:01 PM

Send the following via the Send UNIX Command, using "root" (sans quote marks) in the "send command" as field:


osascript <<EOF

tell application "System Events"

keystroke "<username>"

keystroke tab

delay 0.5

keystroke "<password>"

delay 0.5

keystroke return

keystroke return

end tell

EOF


Note that the doubled "keystroke return" line is not an error; that's necessary with Leopard, but may or may not be necessary with other versions, so you may need to experiment.


Regards.

1 reply
Question marked as Best reply

May 26, 2011 1:01 PM in response to wadesmith

Send the following via the Send UNIX Command, using "root" (sans quote marks) in the "send command" as field:


osascript <<EOF

tell application "System Events"

keystroke "<username>"

keystroke tab

delay 0.5

keystroke "<password>"

delay 0.5

keystroke return

keystroke return

end tell

EOF


Note that the doubled "keystroke return" line is not an error; that's necessary with Leopard, but may or may not be necessary with other versions, so you may need to experiment.


Regards.

Apple Remote Desktop: any way to login to multiple computers with one command?

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