2 Replies Latest reply: Aug 22, 2013 1:53 PM by naco tech
naco tech Level 1 Level 1 (0 points)

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?

  • 1. Re: group login
    varjak paw Level 10 Level 10 (169,765 points)

    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.



  • 2. Re: group login
    naco tech Level 1 Level 1 (0 points)

    Great!  That worked!!!