Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

How do I turn on Fast User Switching on my new MacBook Pro?

My wife and I share the same laptop and I just learned that we can both be logged in at the same time, yet have separate preference files, separate mailboxes in Apple Mail, separate bookmarks in Safari and even keep our files hidden from each other. Sweet! Someone at the Apple Store told us that we needed to use "fast user switching" but I have no idea what that is and how to use it. Is it an application we need to buy?


Dave's Answer:

Your mystery staffer at the Apple Store was exactly right, and one of the great things about the Mac is that you can indeed have multiple accounts logged in, multiple programs running, etc., all on the same computer, be it a MacBook Pro, iMac or Mac Mini. Enabling Fast User Switching is a bit tricky, though, because they hid it in a rather unintuitive spot in Mac OS X...

First, let me show you what ya get when you enable this feature (no additional software required) then I'll explain how to turn it on. With Fast User Switching turned on, I get a small head silhouette added to my top menubar:

Mac OS X: Fast User Switching: Menu Icon

(those icons, left to right, are for Seagate's splendid Mirra backup service, dialup service, wireless service, the batter, the clock, fast user switching, YouControl Desktops and Spotlight)

Click on the little head and you get a list of all login accounts on the system:

Mac OS X: Fast User Switching: Menu

If I choose an account other than the one I'm using now ("Dave Taylor") it prompts me for a password:

Mac OS X: Fast User Switching: Login Window

Enter the correct password and the current account, current apps, desktop, etc, are all "frozen" in stasis, while we switch completely to the new account as if it was the only one on the laptop. New toolbars, new Desktop, new Dock icons, everything. Since the other account (or accounts: You can log in to more than two accounts at a time) isn't visible, it's apps are also halted, ready to restart as soon as you switch back to that account. Make sense? In practice, it's logical, smooth, and incredibly useful!

To enable this feature on any Mac OS X system you need to choose Apple --> System Preferences... then select Accounts. You'll see a window quite similar to this:

Mac OS X: System Preferences: Accounts

If your padlock is closed on the lower left, as mine is, you'll want to click on it and enter your administrative password since the area we need to visit is only accessible to logged-in administrators. Once you've done that, click on "Login Options" on the left side. You'll now see a set of - surprise! - login options:

Mac OS X: Fast User Switching: Accounts

Simply click on the checkbox to choose "Enable Fast User Switching" and you're good to go! I recommend that you use "View as Icon", but if you have a larger screen you might enjoy "View as Short Name" or "View as Name", both work just as well and give you the same functionality, the only difference is how much of your menubar they steal.

Hope that helps you get the most out of your Mac.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

"...the current account, current apps, desktop, etc, are all "frozen" in stasis, while we switch completely to the new account as if it was the only one on the laptop. ... Since the other account ... isn't visible, it's apps are also halted, ready to restart as soon as you switch back to that account."

Actually they are not halted - they continue to run. Just as apps that you "Hide" continue to run. Applications that are waiting for user input will halt, of course (since that login session has been disconnected from the keyboard and mouse), but applications that are not waiting for an event will continue to run. This is quite useful. I have several applications that want to run for long periods of time (academic research, numerical calculations, image rendering, etc.).

Some of these tasks will crunch data for a week. If I logged out, these tasks would be automatically terminated. However, if I use Fast User Switching to select "Login Window", then my applications continue to run in the background while allowing someone else to log into the machine. I can then return to my login session at some later date.

This is the beauty of the Unix underpinnings of Mac OS X. Unix has always been a multi-user system - allowing multiple users to be logged in at the same time, each performing their own work.

Fast User Switching can also be used to enhance security. By default, the first user you create when you set up your new Mac has administrative privileges. Having admin privileges is great for configuring a new machine, performing maintenance, installing software that will be available to all users, etc.

However, administrative privileges can also be dangerous in the hands of the non-expert user. Last week there was a "humorous" article on digg about some guy that removed most of his Unix system files by deleting /usr because he already had another directory called /Users [the folder names look sort of similar - why have both?!!]. He was allowed to do this because he was logged in as an administrator, then foolishly disabled several impediments to this danger, and finally answered "yes" to the "are you sure you want to to this foolish thing" authorization dialog.

For the novice user (like those that don't know how to invoke Fast User Switching or google for instructions), you can [mostly] shield yourself from such disaster:

1) Create a special account that you will only use for Administrative tasks and give this account administrative privileges. Ideally, you would do this when first configuring your new Mac, but you can still do it in the "System Preferences"->"Accounts" tool mentioned. [Notice the "Admin" account in the example screen shot above.] Remember the password you give the administrative account.

2) Using the "System Preferences"->"Accounts" tool, remove Adminstrative privileges from your own account. This will force you to run as a "Standard" user for your day-to-day activities. You should be largely protected from wreaking havoc upon your system [at least outside of your home directory]. You can still install new applications in the "Applications" folder of your home directory (although those installations will not be visible to other users of the computer).

3) If you actually need to perform some task that requires true administrative privileges, use Fast User Switching to temporarily log in as the administrative user, then perform the task as the admin. This extra step will make you think proactively about the possibly dangerous task you are about to perform.

4) Once you have performed the administrative task, switch back to your standard login account and continue your day-to-day work.


Posted by: Brett Johnson at April 16, 2007 10:39 PM

You're right, Brett. The more I've used Fast User Switching on my own computer, the more it's glaringly obvious that all the apps chug along whether that user's logged in or not. Thanks!

Posted by: Dave Taylor at April 17, 2007 12:29 AM

Just a comment: Fast User Switching is a great reason to put more RAM in your Mac. The more open sessions and apps, the more you'll benefit from the extra memory.

One way I use Fast User Switching is to set up a user for online games (Yahoo Games in my case). No extra apps fighting for your attention makes it easy to concentrate on the task at hand.

Dan Knight
LowEndMac.com

Posted by: Dan Knight at April 17, 2007 8:00 AM

Thanks for the tip. I had mine on and somehow it was disabled without me doing so and i was searching all over on how to re-enable it.

Thanks again,

;)

Posted by: Ikki at January 24, 2008 11:36 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]