Mac os x logout from command line

Apple Footer

WerkkreW WerkkreW 5, 3 18 Any user with admin privileges can log them out using launchctl if it is a post You can see launchctl help for more information. Iain Henderson Iain Henderson 3.

  1. mac shortcut lock screen lion;
  2. mac internet connection self assigned ip;
  3. headphone jack not working mac air.

This almost works: If you try to do it to someone else even with sudo. Dave Sag Dave Sag 3.

Terminal Command to Log Out User - Apple Community

This is what I needed: A nice utility to add to your Terminal is the "logout" command, to be used like: Edit your. Kappe Kappe 2. That is nifty. Almost wish I was still a mac admin and had a need to test it. Oh, that's funny. Find their WindowServer or login process: Alex Alex 1, 6 9.

Killing the Window server will take all it's child processes with it. If you can log in as the user via SSH then you can use: Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.

Helpful answers

Email Required, but never shown. Post Your Answer Discard By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies.


Related Hot Network Questions. Will the commands be the same for an Administrators account? More Less. Helpful answers Drop Down menu. Mulder Mulder. If it doesn't, you can use: Hope this helps, Mulder If my answer helped solve your problem, please consider awarding some points.

Force logout via command line

Why Reward Points? View answer in context. However, killall should have killed all processes and not left any running, which would effectively logut that person. Loading page content. I just want to shut them down when I need to. Any other suggestions?

  1. sync imessage on mac and iphone.
  2. How to Log Out Another User Without Logging In On Mac OS X!
  3. Post navigation?
  4. Hint Options.
  5. !
  6. backing up to icloud mac.

G4 Quicksilver Dual 1 GHz, 1. Reply Helpful Thread reply - more options Link to this Post. Bill Scott Bill Scott. Desktops Speciality level out of ten: To get the login screen: To switch to a particular user: