Logging out the current user – Apple Remote Desktop 3.1 User Manual

Page 143

Advertising
background image

Chapter 8

Administering Client Computers

143

4

Type the following AppleScript in the UNIX Command window, adding the user name
and password:

osascript <<EndOfMyScript

tell application "System Events"

keystroke "<user name>"

keystroke tab

delay 0.5

keystroke "<password>"

delay 0.5

keystroke return

end tell

EndOfMyScript

5

Choose user “root” to run the command.

6

Click Send.

The client computer executes the script.

Logging Out the Current User

Apple Remote Desktop can log out the current user on a client computer. Other users,
besides the current active user, who are logged in using Fast User Switching are not
logged out using this command. Using this command returns the client computer to
the login window.

Unsaved work will stop the logout process.

To log out a user:

1

Select a computer list in the Remote Desktop window.

2

Select one or more computers in the selected computer list.

3

Choose Manage > Log Out Current User.

4

Click Log Out.

Advertising