MikeSpike.org

un poco de todo

  • Home
  • About Me
  • Contact
  • Fotos
  • Mac Utilites
  • Recipes

Categories

  • Hobbies
  • Life
  • Technology
  • Travel

Tags

10.5 10.5.4 active directory Alabama Apple Apple Remote Desktop ARD audio auto Birthday camping christmas classroom command line crest deep freeze dsconfigad Europe family faronics firefox fishing Friendly Shopping Center gardening Greensboro Holland jack leopard line-out rear login mac pro Maryland mountain biking Myrtle Beach New Orleans new year Philadelphia photography plugin quaker safari Snow Patrol Switzerland Top Gear traveling

Log into a mac using ARD’s “send unix command.”

October 21st, 2008 by Michael in Greensboro, NC

I stumbled across this useful little tidbit of knowledge. Have you ever needed to log into several machines in a lab but hated going to each one and typing in your credentials. Well thanks to “David Kahn3″ and others for coming up with the following script, osascript <<EOF tell application “System Events” keystroke tab keystroke (ASCII character 8 ) keystroke tab keystroke (ASCII character 8 ) keystroke return delay 0.5 keystroke tab keystroke “username” keystroke tab delay 0.5 keystroke “password” delay 0.5 keystroke return keystroke return keystroke return keystroke return end tell EOF I was able to push this script out using Apple Remote Desktop (run as root not admin) to my macs while they were at the login screen window. Just a few changes for the account username/password fields and bam the computers logged in without me having to even touch them.Beautiful Original Post from Apple Support

Posted in Technology | 1 Comment »

Tags: 10.5, Apple, Apple Remote Desktop, ARD, command line, leopard, login

©2006-2012 Michael Shepherd MikeSpike.org - RSS - Comments RSS - Valid XHTML - XFN