osx - What is the best way to log out another user from their session on macOS? -


in other words:

  1. log on bert (who administrator)
  2. using fast user switching, log on ernie (bert remains logged on)
  3. switch bert
  4. bert logs ernie off

what best way achieve step 4?

this forum post has bash script osx should trick. takes username argument , logs off user.

i've not tried it, mileage may vary. looks suits needs. trying achieve?


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -