betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

01 August 2006

Avoiding Dangerous Menu Logout

Don't send the server to sleep

With the HelMUG server (running Mac OS X Server 10.4) we once had the problem that one of us wanted to logout through VNC, but slipped onto the "Sleep" menu command in the Apple menu. The server went to sleep as told, and someone had to go to the rackfarm, connect a keyboard and wake the server up. A lot of trouble. Since then I always get half of a heart attack when I have to go to "Log out" through the Apple menu. I've solved that now: I'm avoiding going to the Apple menu at all for logout, I made a small AppleScript...

The script is very simple, actually just one line.

tell application "System Events" to log out
I've saved the script as an "Application", and placed that on my desktop. Now I can safely double click this and then confirm the logout.

Posted by betabug at 23:02 | Comments (0) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< Me and the Machine Get Hot | Main | On Board >>
There are no comments.
You can trackback to:
There are no trackbacks.