Skip navigation

group login

297 Views 2 Replies Latest reply: Aug 22, 2013 1:53 PM by naco tech RSS
naco tech Calculating status...
Currently Being Moderated
Aug 22, 2013 11:02 AM

Can I send a unix command(or something else) from Apple Remote desktop that will cause a group of computers to login with the same name and password?

  • varjak paw Level 10 Level 10 (167,150 points)
    Currently Being Moderated
    Aug 22, 2013 12:32 PM (in response to naco tech)

    Try sending this script using root 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



    substituting the approprate login name and password for the dummy information between the quotes (i.e. don't include the braces). Depending on the version of Mac OS X on the workstations, you may have to remove one of the "keystroke return" lines or add another one. This presumes that your workstations are set to display the login window as name and password rather than as a list of users. I haven't found a script that works when the users are shown as a list.




More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.