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? -

visual studio - Deleting lines of code in a text editor -

What's the encoding type of Android 2.2 push message? -