martonium Posted February 5, 2012 Share Posted February 5, 2012 There is a UNIX command to force a reboot as follows: sudo shutdown -r now If you run this from Terminal, it will force the system to reboot AFTER you enter your administrator password. (Or alternatively, you can use the Send UNIX Command function in Apple Remote Desktop "as root" to force a reboot on a remote Mac) What I am trying to figure out is how to write an AppleScript with this command that will run as root without being asked for a password. Is there a way to do this? Link to comment Share on other sites More sharing options...
Recommended Posts