Skip to main content
guest
Join
|
Help
|
Sign In
tbachner
Home
guest
|
Join
|
Help
|
Sign In
Wiki Home
Recent Changes
Pages and Files
Members
iPad Resources
ard2008
Edit
0
9
…
0
Tags
No tags
Notify
RSS
Backlinks
Source
Print
Export (PDF)
Course completion survey
Unix commands
Remote login
For MS (Use the logout current user command from the manage menu first)
osascript -e 'tell application "System Events"' \
-e 'key code 126' \
-e 'keystroke return using option down' \
-e 'keystroke "admin"' \
-e 'delay 1' \
-e 'keystroke tab' \
-e 'delay 1' -e 'keystroke "LOCALPASSWORD"' -e 'delay 0.5' -e 'keystroke return' \
-e 'end tell'
For HS (Use the logout current user command from the manage menu first)
osascript -e 'tell application "System Events"' \
-e 'delay .5'
-e 'key code 53' \
-e 'delay 1' \
-e 'key code 126' \
-e 'keystroke return using option down' \
-e 'keystroke "admin"' \
-e 'delay 1' \
-e 'keystroke tab' \
-e 'delay 1' -e 'keystroke "LOCALPASSWORD"' -e 'delay 0.5' -e 'keystroke return' \
-e 'end tell'
Keycodes reference
http://lists.apple.com/archives/Applescript-users/2004/Apr/msg00076.html
BHT
/Users/admin/MyApps/BigHonkingText -p 35 "Hello"
/Users/admin/MyApps/BigHonkingText --help
Setweb proxy state
networksetup -setwebproxystate Airport off
Change password
rm -Rf /Users/student/Library/Keychains
dscl . -passwd /Users/student Password
Javascript Required
You need to enable Javascript in your browser to edit pages.
help on how to format text
Turn off "Getting Started"
Home
...
Loading...
Unix commands
Remote login
For MS (Use the logout current user command from the manage menu first)
osascript -e 'tell application "System Events"' \
-e 'key code 126' \
-e 'keystroke return using option down' \
-e 'keystroke "admin"' \
-e 'delay 1' \
-e 'keystroke tab' \
-e 'delay 1' -e 'keystroke "LOCALPASSWORD"' -e 'delay 0.5' -e 'keystroke return' \
-e 'end tell'
For HS (Use the logout current user command from the manage menu first)
osascript -e 'tell application "System Events"' \
-e 'delay .5'
-e 'key code 53' \
-e 'delay 1' \
-e 'key code 126' \
-e 'keystroke return using option down' \
-e 'keystroke "admin"' \
-e 'delay 1' \
-e 'keystroke tab' \
-e 'delay 1' -e 'keystroke "LOCALPASSWORD"' -e 'delay 0.5' -e 'keystroke return' \
-e 'end tell'
Keycodes reference
http://lists.apple.com/archives/Applescript-users/2004/Apr/msg00076.html
BHT
/Users/admin/MyApps/BigHonkingText -p 35 "Hello"
/Users/admin/MyApps/BigHonkingText --help
Setweb proxy state
networksetup -setwebproxystate Airport off
Change password
rm -Rf /Users/student/Library/Keychains
dscl . -passwd /Users/student Password