Fast user switching

JKling
New Contributor III

I think I am just overlooking something, but

What is the best way to enable Fast User Switching post-imaging? I went looking for a script, but the 2 I found do not seem to be for 10.8. I need this so teachers can lock their laptops on demand. I have the screensaver setup to require a password, but many like to lock their station before the walk away.

Any suggestions appreciated.

4 REPLIES 4

stevewood
Honored Contributor II
Honored Contributor II

No need for that. If they have an external keyboard connected, Control-Shift-Eject will lock. Without an external keyboard, Control-Shift-Power Button should lock the screen.

Or, you can use Hot Corners and set one of them to lock screen.

JKling
New Contributor III

Steve, you are a ROCK STAR. I did not know that shortcut. This is my first year with Macs.

That is a good short term solution but I would still like to enable the feature.

stevewood
Honored Contributor II
Honored Contributor II

How are you enabling/disabling FUS? I just tried in my test VM using these two commands:

sudo defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool 'YES'

and

sudo defaults write /Library/Preferences/.GlobalPreferences MultipleSessionEnabled -bool 'NO'

I had to restart the VM after turning FUS off or on, but that command worked. So, you should be able to put that into a post image script and have it enable. If that doesn't work, you may need to make a login policy that runs the enable command and then have the user restart their machines.

And actually, I just tested re-enabling and logging out and back in, and that re-enabled FUS.

mscottblake
Valued Contributor

As Steve noted, any changes made to Fast User Switching requires the user to log out and back in before it will take effect.