Creating and Editing User Accounts
Both administrator and standard users use Accounts preferences to manage user accounts. Although standard users can change their own account information, such as the login password, only administrator users can add or delete user accounts. Throughout this lesson, we assume that you are initially logged in as an administrator using an account named Apple Admin. If you prefer to continue using your existing account, that's fine, as long as it's an administrator account. Whenever the Apple Admin account is discussed in the book, substitute your administrator account instead.To create a new account, click the Add User (+) button. You then provide a long name, a short name, a password, and an optional password hint for the user.Accounts preferences is divided into four panes:NOTELogin Items is only available when you are configuring your own account, and Parental Controls is only available when you're editing standard accounts.
- Password
You enter the user's full name and short name. Selecting the "Allow user to administer this computer" checkbox changes the account type from standard to administrator. You also enter the user's password and an optional password hint.TIPYou can create a user account without a password, but doing so is strongly discouraged for security reasons. An alert is displayed when no password is entered.When a user account is created in Mac OS X, a home folder is created for that user in Users. The home folder has the same name as the user's short name. You can quickly access your home folder by clicking the home icon in the Sidebar at the left of the Finder window. The short name can be as long as 255 Roman characters. However, if a short name is longer than 32 characters, Classic applications (as well as some Mac OS X applications) might give errors while saving files. In such a case, you can save the files in a folder that has a name less than 32 characters in length, and then move them later, using the Finder.NOTE
When creating a new user account, think carefully about the user's short name. After you create an account you can easily change a user's long name, but changing the short name is a complicated procedure. Renaming the home folder does not change the user's short name because that information is stored in the local NetInfo database (/var/db/netinfo/local.nidb).MORE INFORefer to Knowledge Base document 106824, "Mac OS X: How to change user short name or home directory name." - Picture
You select a login picture. This picture is also used as your Address Book picture and as the default picture in iChat. You can upload a custom picture by clicking Edit and then Choose. - Login Items
If you are modifying your own account, you can specify which items to open automatically when you log in. This pane was called Startup Items in previous versions of Mac OS X. - Parental Controls
For modifying a standard user account, the Parental Controls pane (called Limitations in previous versions of Mac OS X) allows administrators to limit what a standard user can do on the computer with applications such as Mail, Finder & System, iChat, and Safari. For example, you can allow or deny iChat requests and emails from specific people, limit access to System Preferences, and prevent Finder tasks such as burning CDs or DVDs. You can also specify a limited set of applications that the user can open.NOTEThe accounts list identifies non-administrator accounts as either Standard or Managed, depending upon the Parental Controls settings. This book uses the term "standard user" to refer to both types of non-administrator accounts, regardless of their Parental Controls settings.
To apply your changes, switch to another pane, add a new user, or quit System Preferences.
Setting Login Options
The Login Options pane in Accounts preferences is used to set options that affect how users log in as well as what they can do once they are logged in. To access the Login Options pane, select a user in the list at the left, then click Login Options at the bottom left.

Creating a Standard User Account
This exercise guides you through the process of creating a standard user account:
Test the New User Account
Log in using Chris Johnson's user account to verify that the user account was created correctly.
Switching Between Users
Mac OS X 10.3 introduced a new feature, fast user switching, which lets multiple users share a computer without quitting applications and logging out. When one user logs in to his or her own account, other accounts remain active in the background with applications running and documents still open.Although the UNIX-based security model in Mac OS X helps keep data and applications secure, enabling fast user switching can introduce some potential security risks. For example, an encrypted disk image currently opened under one account would be potentially accessible from another account if both accounts are currently logged in with fast user switching. For this reason, you should not enable fast user switching on a computer where you do not know and trust all of the users (such as in a computer lab or a kiosk).When you activate fast user switching in the Login Options pane of Accounts preferences, a new menu appears on the right side of the menu bar. You can use this menu to switch between accounts. If you switch to an active user account (an account that is logged in), you'll see the account in the same state in which it was last left, with any applications running. This feature enables you to keep each account's user environment distinct and intact without wasting time.[View full size image]

Deleting User Accounts
As an administrator user, you can use Accounts preferences to delete any user account. However, you cannot remove all the administrator users because there must be at least one.To delete an account, select it, then click the Delete User (minus sign) button. The system will prompt you to put the contents of the user's home folder in a disk image (.dmg) file in the /Users/Deleted Users folder or to delete the home folder contents immediately.

Deleting a User Account
The following steps walk you through deleting a user account:
Restoring a Deleted User's Files
The contents of the martha home folder have been stored in the martha.dmg disk image. (Disk images are covered in Lesson 4, "File Systems.") The following steps show you how to open the disk image and restore its contents: