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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -