The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
3answers
3k views

Log out other user w/o first switching to that user

My wife use separate accounts and quick user switching on a MBP running 10.6. Sometimes I want to log her out to free up some RAM, but I'd like to avoid logging in as her, logging out, then logging ...
11
votes
2answers
6k views

Make a script/app run on logout

We all know that Mac OS X has the very useful Login Items functionality which lets you, among other things, set up apps/scripts to run when you log in. I'm looking for a way to setup a list of ...
10
votes
3answers
2k views

Is it necessary to eject external drives before logging out, restarting, or shutting down?

Is it necessary or recommended practice to eject external drives before logging out, restarting, or shutting down? (The drives are not being unplugged.) BTW, I am aware that I need to eject my ...
8
votes
5answers
4k views

Is there a way to absolutely force a Log Out, Shut Down, or Restart with open tabs and unsaved documents?

I could not find any relatively simple way to log out of a public use Mac quickly with many tabs open and unsaved document in the background without resorting to sudo shutdown -h now. The reason I ...
5
votes
3answers
834 views

Can I remove the “Log Out” item from the Apple menu?

Is it possible to remove "Log Out" from the Apple Menu? I know there used to be a tool that let you customize the Apple Menu (can't remember the name) but I doubt it's still working on Lion. ...
5
votes
3answers
3k views

Macbook randomly logging me off

Every so often, mostly during what appears to be more-intense-than-usual processing, the computer quits all apps, logs me out, and returns to the login screen. I usually get the translucent spinning ...
4
votes
1answer
174 views

Is there way to know when last logged in and out?

Is it possible to know when I last time logged in and out? I would prefer to access this information from Terminal, but a GUI tool is also okay.
4
votes
1answer
207 views

How can I prevent accidentally quitting an application?

I use Adium, but if I set a "Quit Confirmation" in the advanced preferences, it cancels log out. If I don't, it is way too easy to quit it, since it gets focused between apps sometimes. Is there any ...
3
votes
2answers
877 views

Will a Perl script still run after I log out of my user account?

I have started a Perl script from the terminal that runs in the background: >perl myScript.pl & If I logout, will it stop my script from running? Thanks!
3
votes
3answers
3k views

How can I automatically log out the guest account after a period of inactivity?

As part of a kiosk system, I have set up a Guest account on a Mac OS X Snow Leopard computer. This account is cleared every time someone logs off the computer. However, plenty of people don't. Is ...
2
votes
1answer
2k views

Fast user switching: how to prevent volumes from being unmounted?

I have a volume mounted. If I switch to another user, this volume gets dismounted. The problem is that I want this volume to be available for every user (but putting it in their login items is not the ...
1
vote
2answers
795 views

How can I automatically run an AppleScript on shutdown or logout?

I am more used to the Javascript style event handlers, but is there a similar thing in applescript that listens to system events like logout or shutdown to execute code or is there a way to have an ...
1
vote
1answer
283 views

How can I add login and logout sounds to OS X 10.8.x?

I would like to add login and logout sounds to my Mac. How can I do this?
1
vote
2answers
26 views

Force User logout

I've setup my macs to logout the user after 60 minutes of inactivity, but there are many, many times that this doesn't occur. mail hangs. some save dialog box was left open, who knows. Is there a ...
0
votes
1answer
73 views

OSX Mavericks doesn't reboot/shutdown/logout from menubar

sudo reboot or sudo halt works when executed from terminal. But, Apple Logo -> Shutdown/Restart/Log Out User doesn't work. Strangely, Apple Logo -> Sleep works. I've executed bunch of defaults write ...
0
votes
1answer
23 views

MacOS X Randomly Logs out while working

A friend of mine experiences the following behaviour while using a macbook quite normally (no heavy loads, etc.). She is returned to her log in screen and apparently logged out, because after logging ...
0
votes
1answer
28 views

How to script a logout while screen is locked?

I want to log out a user via a shell script, after a delay. However, there's a few other issues: User does not have admin and/or root. Logout must complete even if screen is locked. Currently, I'm ...
0
votes
0answers
41 views

Eject Disk Image at logout with AppleScipt?

I would like to know how to use AppleScript to write a script that automatically ejects a disk image whenever the user logs out of their account. This script would be the complementary inverse to a ...
0
votes
2answers
191 views

MacBook Pro 3,1 (2007), running 10.6.8, sudden logout, window_server crash

I have a 2007 MacBook Pro 3,1. The logic board, graphics card, and hard disk were replaced in October 2009. Sometime in the last few months the machine began to 'spontaneously logout' - I'll be ...