Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Remove Shut Down from the Apple menu' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Remove Shut Down from the Apple menu
Authored by: UberFu on Nov 16, '09 09:55:03AM
I would think a more effective and standard way to do this would be to use Energy Saver settings to automatically turn the computer during your maintenance window and/or enable the "Start up automatically after a power failure" and "Wake for network access."
The problem with this is that it won't prevent someone from shutting down the computer and someone else from having to manually reboot the machine. The only bypass to this is the Schedule Option and this only works at a given moment during the day based on what it's set to. So it does no good if someone shuts the machine down 5 minutes after the scheduled start or wake up time. As VK mentioned on the first response to this Thread - The Admin Tools are the best and safest method to accomplish this.

[ Reply to This | # ]
10.5: Remove Shut Down from the Apple menu
Authored by: ozcaveboy on Nov 16, '09 02:39:27PM

Using the pmset command does not require someone to manually reboot the machine. An example of a one-time start up would be:

sudo pmset schedule wakeorpoweron "mm/dd/yy hh:mm:ss"

This command will cause the computer to start up or wake up at the specified time. There are also options for repeating schedules. While it's true that the user could shut down the computer moments after it has been booted up, you can always schedule maintenance to occur after everyone's left for the day. I use ARD to schedule updates and maintenance to occur at 3 am. You can also use ARD to lock the screen so that no one can come along and shut it down.

Edited on Nov 16, '09 02:44:06PM by ozcaveboy

[ Reply to This | # ]