Mass login via ARD (need current UNIX script)
I need to mass log in to multiple lab computers to do individual work with them at the Desktop using ARD 3.7.1. Old UNIX scripts posted elsewhere on the forum no longer work with more recent versions OSX (I am running 10.8.5). I get a "Succeded" when nothing actually happened (the computer remains at the login screen). In the past I would be taken to the desktop after running the script.
For example:
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
iMac, OS X Mountain Lion (10.8.5)