

Make sure your script is saved as plain text with UNIX line breaks.

Never use sudo or su to do tasks as the root user they are interactive and expect further input and response from your script. (You don’t need to have the root account enabled to specify the root user.) Running a UNIX command as the current user fails if the target computer is at the login window, because there is no current user. Run your script as root, or another user with root-level privileges, by entering “root” in the specified user field of the task dialog. The shell script must already be on the client computers, or you can use the Copy Items command to copy the script file to the client computers, then execute it using the Send UNIX Command. Shell scripts are files containing a collection of UNIX commands that are executed in sequence. Using Remote Desktop, you can execute shell scripts on client computers. Use the Remote Desktop AppleScript dictionary.Restrict clients to a specific Task Server.Sleep, shut down, log out, or restart a computer.Customize the columns for computer lists or scanners.Switch between full screen and in-window control.View a user’s account picture while observing.View a computer’s system status while observing.View a VNC server’s additional displays.Shortcuts in the multiple-client observe window.Virtual Network Computing access and control.

Enable directory services group authorization.
