OS X Mountain Lion Pocket Guide (25 page)

Read OS X Mountain Lion Pocket Guide Online

Authors: Chris Seibold

Tags: #COMPUTERS / Operating Systems / Macintosh

BOOK: OS X Mountain Lion Pocket Guide
11.85Mb size Format: txt, pdf, ePub
Chapter 7. Managing Passwords in Mountain Lion

When you first boot a new Mac and set up a user, the system is
configured to automatically log in that user. That’s probably fine if you’re
the only person who uses that computer, but not so great if your Mac is
sitting out where a lot of people have access to it. You’ll want to
customize your security settings to fit the environment where you’ll be
using your Mac. If it’s a desktop machine and you’ll be using it only at
home, for example, you probably don’t have much to worry about. But if it’s
a MacBook that you plan on hauling everywhere you go, you’ll want a little
more security.

Note

See
Logging In
to find out how to disable
automatic login, and see
Logging Out, Sleeping, and Shutting Down
to customize your
logout options.

Security in OS X usually comes down to passwords: passwords for
services, accounts, websites, and email. Once you’ve created all those pesky
but necessary passwords, you’ll want to turn your attention to managing
them.

Password Management

To manage all your passwords, Mountain Lion uses keychains;
they’re where it stores your passwords and certificates to keep them safe
from prying eyes. These keychains save you a lot of time, because your Mac
can use the stored passwords to do a variety of useful things, like
joining your wireless network without any help from you.

The more you do online, the more passwords you need. Ideally, you
want different passwords for everything; using the same password for your
bank’s website and for posting to a third-rate message board isn’t the
best idea. However, with so many passwords running around, it is easy to
forget them. We’ve all been faced with the situation where we were
sure
we typed in the right password, only to be
repeatedly denied access. Fortunately, OS X can help.

Recovering a Forgotten Password

So you’ve forgotten the password to some rarely visited
yet essential server or some network you join only every six months.
Turns out Mountain Lion probably remembered the password
for
you because chances are good that when you
first entered the password, Mountain Lion asked if you wanted it to save
the password, you chose Yes. (The three options are Yes, Never, and Not
Now; since Yes is the default, that’s the option most people choose.) To
recover the password, open Keychain Access (Applications

Utilities

Keychain Access) and then type the name of the
site or application, or something else relevant into the program’s
search box. Keychain Access will find entries that match your search
criteria and present you with a list like the one in
Figure 7-1
.

Figure 7-1. Recovering a Twitter password

When whatever you’re looking for appears in the list in the middle
of the Keychain Access window, double-click that item and a window will
pop up that includes a “Show password” checkbox. Check the box, enter
your keychain password (usually, but not necessarily, the same as your
OS X password), and you’ll see the password.

For an added level of security, you can configure OS X to
lock your keychain after a period of inactivity. Open Keychain Access,
click “login” in the Keychains list on the left side of the window, and
then select Edit

“Change Settings for
Keychain ‘login.’” You’ll then be able to lock the keychain after a
period of inactivity or when the computer sleeps. Once a keychain is
locked, Mountain Lion won’t let your Mac give out passwords until you
unlock the keychain by typing in your password.

Note

If you work on a Mac managed by someone other than
yourself, you probably don’t want your keychain password to be the
same as your OS X password. Why? Because, if the administrator set
your OS X password for you, that person will also be able to access
the information that’s on your keychain. To change your keychain
password, open Keychain Access, click “login” in the Keychains list on
the left side of the window, and then select Edit

“Change Password for Keychain ‘login.’” Enter
a new password and your data will be safe from everyone but
you.

Make a Great Password

The following passwords are not acceptable:
letmein
,
password
,
123
, and
qwerty
. Using one of
those for anything you care about is like leaving the door to your house
wide open—but removing the welcome mat. Sure, a miscreant
might
pause momentarily when he notices the mat is
missing, but that won’t stop him from coming into your house. You need a
better password.

Mountain Lion can help you in your quest. You can find out
whether your chosen password is strong with Password Assistant, which
tests password strength. For whatever reason, you can’t access Password
Assistant directly—you have to use Keychain Access to get to it.
(Actually, any prompt that displays the little key icon will give you
access to Password Assistant, but Keychain Access is one of the easiest
ways to get there.) Open Keychain Access (Applications

Utilities

Keychain Access), and then select Edit

“Change Password for Keychain ‘[keychain
name].’”

In the dialog box that pops up, type a prospective password in the
New Password field. As you type, you’ll see a colored bar appear that
indicates how good your password is (red for weak, yellow for fair, and
green for good or excellent). Under that is a Password Strength rating
(Weak, Fair, Good, or Excellent). When you’re done typing, click the key
icon and the Password Assistant window appears (
Figure 7-2
).

Figure 7-2. Know your password’s strength

If your password isn’t the digital equivalent of Fort Knox, try
out some new passwords in the Password Assistant window to see how they
rate. If you can’t come up with a good one on your own, Mountain Lion is
happy to pitch in and help. The Password Assistant window’s Tips field
gives you pointers on how to build a better password, and the Type
drop-down menu lets you choose the kinds of passwords Mountain Lion
suggests: “memorable” ones, ones with letters and numbers, purely
numeric ones, random ones, or FIPS 181–compliant ones (the kind used by
government agencies).

Once you’ve found a good, strong password, close the Password
Assistant window and then click Cancel in the “Enter a new password
for...” window (unless you actually want to change the password for that
keychain). Now you can type that password into whatever program or
website needs it and know that your info should be pretty
secure.

Storing Secure Notes

Keychain is great at storing passwords, but you can also
use it to store notes. To write a note that no one else can see (well,
except for people who know your OS X username and password), open
Keychain Access, click “login” in the Keychains list, select Secure
Notes in the Category section, and then click the + button at the bottom
of the window. Give your secret note a name, and then start typing away
(
Figure 7-3
). When you’re done, click Add
and your note will be safely stored in that Keychain.

Figure 7-3. They must never know

Add a Keychain Access Menu Extra

With all the goodness Keychain Access offers, you might
want easy access to it. You can add it to your Dock, but that might be
getting a little crowded, and the Keychain icon isn’t the best-looking
one Apple has churned out. Luckily, you can add a menu extra for
Keychain Access (see
Menu extras
for a refresher). To
do that, the next time you’re using Keychain Access, go to Preferences
(⌘-,) and, on the General tab, check the box next to “Show keychain
status in menu bar.”

Securing Your Data

Carefully choosing passwords is a great start when it
comes to security, but it’s not a perfect solution. If someone has
physical access to your Mac, there are things she can do to get at your
data. If this prospect seems particularly loathsome to you, consider
making the extra effort to enable FileVault, a feature of Mountain Lion
that makes your data impossible to access unless you want it accessed.
For information on setting up FileVault, see
FileVault tab
.

Chapter 8. Keyboard Commands and Special Characters

When you’re using the keyboard, you want to keep your hands on the
keys. A trip to the trackpad, reaching for the mouse, or hunting for a
special character can really slow you down. The good news is that Mountain
Lion has a lot of key commands and special characters built right in. The
bad news is that, unless you’re one of those people who memorize the digits
of pi to a thousand places for fun, you won’t remember them all.

The most important key commands and special characters vary from user
to user. For example, if you’re writing about Exposé, knowing how to type é
really helps, but knowing how to type ¬ isn’t of much use. Everyone uses his
or her Mac a little differently, so this chapter features a wide selection
of keyboard commands and ways to type different characters. Memorize the
ones for the functions you use most, and you’ll save a lot of time and
effort.

Key Commands

When your hands are on the keyboard, it’s much quicker to
keep them there to perform some mundane task than it is to dig through the
menus and find the option that lets you type a special character or create
a new folder.

In general, the less time you spend using the mouse (or trackpad),
the more productive you’ll be. While you’ll want to learn the keyboard
commands for all your favorite programs, some commands are so common that
it’s worth reserving a special spot for them in your brain:

⌘-S

Save. This saves the document you’re working on. The
more often you use this command, the happier you’ll be (at least
until OS X’s Auto Save feature is part of every program). Nothing is
more frustrating than having all your hard work disappear when the
power flickers or an application crashes.

Note

If you’re using a keyboard designed for Windows
systems, you won’t see the ⌘ key. Instead, use the Windows key,
which is usually in the same spot you’d find the ⌘ key. Some
keyboards use a different symbol, however; for example, the Happy
Hacking Keyboard uses the “lozenge” symbol (◊).

⌘-C

Copy. This command copies the current selection for
later pasting.

⌘-X

Cut. This command deletes the current selection but
copies it to your Mac’s memory. After you’ve cut something, you can
paste it elsewhere (until you copy or cut something else, that
is).

⌘-V

Paste. Once you’ve copied or cut something, you’ll
want to paste it.

⌘-,

Opens the preferences for the active
application.

⌘-] and ⌘-[

Moves forward (]) or backward ([) in the Finder,
Safari, and some other applications. For example, when navigating to
various directories in the Finder, you can use these keys instead of
clicking the arrows in the upper-right corner of the window.

⌘-Shift-?

Opens the current application’s Help dialog box so you
can get quick answers to your vexing questions.

⌘-Q

Quits the current application.

Note

You can’t easily quit the Finder, so this command doesn’t
work when you’re using it. To find out how to quit the Finder (or
more accurately, relaunch it), see
The Finder stops responding
.

⌘-Tab

Brings up the Application Switcher, which lets you
cycle through running applications by pressing Tab repeatedly as you
hold down ⌘. When you get to the application you’re after, let go of
both keys. If your hands are on the keyboard, this is a
much
faster way to switch applications than the
Dock.

Option-⌘-Esc

Force quits the current program.

Once you’ve mastered those commands, your appetite for keyboard
shortcuts is likely to become insatiable. Fortunately, there’s plenty more
of that keyboard-shortcut, time-saving goodness, much of which is shown in
Table 8-1
.

Note

Unfortunately, some of these commands don’t work the same
way in all programs. For example, in the Finder and many other
applications, ⌘-I displays the Get Info window for the currently
selected file or object, but in most word-processing applications, ⌘-I
italicizes the selected text.

Also, on some keyboards, you may need to hold down the key labeled
Fn to use keyboard shortcuts that require a function key (F1, F2,
etc.).

Table 8-1. Common keyboard shortcuts

Key
command

Most common
action

Finder
action

⌘-A

Selects all

Selects all items in
current directory

⌘-B

Makes selected text bold
(in word-processing programs)

None

⌘-C

Copies current
selection

Copies selected files and
folders

⌘-D

Duplicates selected object
(usually in drawing applications)

Duplicates selected file or
folder

⌘-E

Searches for highlighted
text

Ejects disk

⌘-F

Finds text

Opens a new Finder window
with cursor in search field

⌘-H

Hides current
application

Hides Finder

⌘-I

Italicizes selected
text

Opens Get Info window for
selected item

⌘-J

Jumps to currently selected
text (useful if you’ve selected some text, then scrolled elsewhere
in a document)

Shows View
options

⌘-K

Clears screen (Terminal) or
inserts hyperlink (text editors, word processors, and
Mail)

Opens “Connect to Server”
window

⌘-L

Opens dialog box that lets
you jump to a specific line of text (common in text
editors)

Creates an
alias

⌘-M

Minimizes
window

Minimizes
window

⌘-N

Creates new
document

Opens new Finder
window

⌘-O

Displays Open File dialog
box

Opens selected
item

⌘-P

Prints

None

⌘-Q

Quits current
application

None

⌘-R

Varies

Shows original file when an
alias is selected

⌘-S

Saves current
file

None

⌘-T

Displays Font
panel

Adds selected item to
Finder window sidebar

⌘-V

Pastes copied
item

Pastes copied file(s) or
folder(s)

⌘-W

Closes
window

Closes
window

⌘-X

Cuts

None

⌘-Z

Undoes most recent
action

Undoes most recent
action

⌘-1

Varies

Displays Finder items as
icons

⌘-2

Varies

Displays Finder items as
list

⌘-3

Varies

Displays Finder items as
columns

⌘-4

Varies

Displays Finder items in
Cover Flow View

⌘-Delete

Varies

Moves selected item to
Trash

⌘-Tab

Opens Application
Switcher

Opens Application
Switcher

⌘-[

Goes back one page (in web
browsers)

Goes back one
directory

⌘-]

Goes forward one page (in
web browsers)

Goes forward one
directory

⌘-?

Activates Help
menu

Activates Help
menu

⌘-space bar

Activates Spotlight
search

Activates Spotlight
search

⌘-'

Cycles through application
windows

Cycles through Finder
windows

Tab

Moves focus to next item or
(in text editors) inserts a tab

Moves focus to next
item

Shift-⌘-3

Takes a picture of your
screen; saves image file to desktop

Takes a picture of your
screen; saves image file to desktop

Shift-⌘-4

Displays a cursor for
taking a snapshot of part of the screen (to take a picture of a
single window, press space bar after using this keyboard
shortcut); saves image file to desktop

Displays a cursor for
taking a snapshot of part of the screen (to take a picture of a
single window, press space bar after using this keyboard
shortcut); saves image file to desktop

Shift-Control-⌘-3

Works like ⌘-Shift-3, but
copies picture to Clipboard

Works like ⌘-Shift-3, but
copies picture to Clipboard

Shift-Control-⌘-4

Works like ⌘-Shift-4, but
copies picture to Clipboard

Works like ⌘-Shift-4, but
copies picture to Clipboard

Shift-⌘-A

Varies

Opens Applications
folder

Shift-⌘-C

Varies

Opens Computer
folder

Shift-⌘-D

Varies

Opens Desktop
folder

Shift-⌘-O

Varies

Opens Documents
folder

Shift-⌘-G

Varies

Opens “Go to the folder”
dialog box

Shift-⌘-H

Varies

Opens Home
folder

Shift-⌘-K

Varies

Opens Network
folder

Shift-⌘-N

Varies

Creates a new
folder

Shift-⌘-Q

Displays logout dialog box,
logs out automatically after one minute

Displays logout dialog box,
logs out automatically after one minute

Shift-⌘-S

Opens “Save As...” dialog
box

None

Shift-⌘-U

Varies

Opens Utilities
folder

Shift-⌘-Delete

Varies

Opens Empty Trash dialog
box

Shift-Option-⌘-Delete

Varies

Empties
Trash

Option (while dragging)

Copies item to new
location

Copies file/folder to new
location

⌘-Option (while dragging)

Varies

Creates an alias to a
file/folder at new location

Option-⌘-D

Shows/hides the
Dock

Shows/hides the
Dock

Option-⌘-M

Varies

Minimizes all
windows

Option-⌘-Esc

Opens a dialog box that
allows you to force quit an app

Opens a dialog box that
allows you to force quit an app

Option-⌘-Eject

Puts computer to
sleep

Puts computer to
sleep

Control-Eject

Displays the
Restart/Sleep/Shut Down dialog box

Displays the
Restart/Sleep/Shut Down dialog box

Control-⌘-Eject

Quits all applications and
restarts computer

Quits all applications and
restarts computer

You’re probably not going to remember
all
those
shortcuts, but you’ll likely remember the ones you use frequently. And
more time at the keyboard means less time wasted mousing and searching for
commands.

Customizing Key Commands

If you don’t like the key commands built into OS X, you
don’t have to put up with them. You can change them or add your own by
taking a trip to the Keyboard preference pane. For details, see
Keyboard
.

Typing Special Characters in OS X

If you’re banging away on the keyboard and find yourself
wanting to type special characters (like the é in Exposé, for example),
there are convoluted methods of getting the character you want (pasting
them from the Web, say). But you might be wondering if there’s a
trackpadless or mouse-free way to do it. Fortunately, there is.

In OS X Lion, Apple added an easy way to get at those pesky
diacritical symbols. Simply type the letter you’re interested in and
hold the key down
; a window will pop up with all your
options (as in
Figure 8-1
). You can then
use the arrow keys to select the diacritic, click the one you want, or
press the number key that corresponds to the number below your
pick.

Figure 8-1. All your options for e

This feature is universal, so you can use it anywhere you can type a
character. It does have a couple of drawbacks, though: depending on how
your key repeat rate is set (see
Keyboard
), you might
find yourself typing
sss
before the diacritic menu
shows up; and if you type a special character often, it’s faster to commit
its keyboard shortcut to memory instead.
Table 8-2
shows how to easily type
diacritical symbols.

Table 8-2. Diacritical accent mark shortcuts

Symbol

Name

Keystroke

´

Acute

Option-E, then type the
letter

^

Circumflex

Option-I, then type the
letter

`

Grave

Option-`, then type the
letter

˜

Tilde

Option-N, then type the
letter

¨

Umlaut

Option-U, then type the
letter

That takes care of only a few characters you may not be able to find
on your keyboard. But what about other characters, such as the euro symbol
or the Apple logo? You might try looking through the Font Book utility,
but with the number of fonts included in a standard OS X install, that
task can require more luck than skill.

The Character Palette is a bit easier to use. You enable it by
heading to

System
Preferences

Language & Text. Click the
Input Sources tab, and then check the box labeled Keyboard & Character
Viewer. Your Mac adds a new icon to the menu bar that lets you launch
either Character Viewer or Keyboard Viewer. Character Viewer lets you
browse a wide variety of special characters and insert them into documents
by clicking them (the characters appear in the most recently used
application). With Keyboard Viewer (
Figure 8-2
), you can hold down
Shift, Option, or Shift
and
Option simultaneously to
see how the keyboard is modified when you’re depressing those modifier
keys. As with Character Viewer, simply click a letter or a symbol to
insert it into a text field.

Figure 8-2. Wonder what Option-Shift does to the characters on your keyboard?
Wonder no more!

You can also check out
Table 8-3
for a quick
reference to U.S. English keyboard modifiers.

Table 8-3. Special character shortcuts for U.S. English keyboards

No
modifiers

Shift

Option

Shift-Option

`

˜

`
(above next vowel typed)

`

1

!

¡

∕ (fraction slash
symbol)

2

@



3

#

£


4

$

¢


5

%


fi (ligature)

6

^

§

fl (ligature)

7

&



8

*


°

9

(

ª

·

0

)

º

¸

-

_



=

+


±

q

Q

Œ

Œ

w

W

Σ


e

E

´ (above next vowel
typed)

´

r

R

®


t

T


ˇ

y

Y

¥

Á

u

U

¨ (above next vowel
typed)

¨

i

I

^ (above next vowel
typed)

^

o

O

Ø

Ø

p

P

Π


[

{



]

}



\

|

«

»

a

A

Å

Å

s

S

ß

Í

d

D


Î

f

F

ƒ

Ï

g

G

©


h

H

˙

Ó

j

J

Δ

Ô

k

K

˚

l

L

¬

Ò

;

:

...

Ú



Æ

Æ

z

Z

Ω

¸

x

X


˛

c

C

Ç

Ç

v

V



b

B


I

n

N

~
(above next “n” typed)

˜

m

M

µ

Â


<


¯

.

>


˘

/

?

÷

¿

Other books

A Slip of the Keyboard by Terry Pratchett
Ice Cold by Adair, Cherry
Road to Passion by Piper Davenport
Come Into The Light by O'Rourke, Stephen
The Scared Stiff by Donald E Westlake
El viaje al amor by Eduardo Punset
Dance by the Light of the Moon by Milo James Fowler