Fedora 6 and Red Hat Enterprise Linux Bible
Because Linux was created as a multiuser computer system, you start by logging in (even if you are the only person using the computer). Logging in accomplishes three functions:
-
It identifies you as a particular user .
-
It starts up your own shell and desktop (icons, panels, backgrounds, and so on) configurations.
-
It gives you appropriate permissions to change files and run programs.
After the computer has been turned on and the operating system has started, you see either a graphical login screen (default) or a text-based login prompt. The text-based prompt should look something like this:
Fedora Core release 6 Kernel 2.6.17 on an i686 localhost login:
The graphical login is typically your entry into the graphical user interface (GUI). Figure 3-1 is an example of the login screen you see when you boot the Fedora operating system that comes with this book.
| Note | If you see a text-based login prompt instead of the graphical login screen, and you want to use the GUI, type your user name and password. Then when you see a command prompt, type startx to start up your desktop. |
Notice the several menu buttons on the bottom of the login screen. You can ignore them and simply type your user name and password as prompted. Or you can use these buttons as follows :
-
Language - Click Option to select a language other than the last language you selected when Fedora was installed. (You may need additional software packages to use different languages.)
-
Session - When you log in, your graphical desktop usually starts up (either GNOME or KDE). Click Session to choose a different desktop (if available) or to select Failsafe. If you can't remember which desktop to use, you can choose Last (to use the desktop you used most recently) or Default (to use the desktop set as your default). You use Failsafe if you want only a shell interface (the shell is described in Chapter 4).
Note The Failsafe session is used primarily to correct problems when, for some reason, your desktop session won't start properly. For example, graphics settings may be wrong, resulting in a garbled screen. The Failsafe session simply opens a shell window so you can type commands to correct the problem before you log in again. When you are done with a Failsafe session, type exit to be allowed to log in again.
-
Restart - Click to reboot the computer.
-
Shutdown - Click to shut down the computer.
To log in, type your user name and, when prompted, your password. You can log in as either a regular user or as the root user:
-
A regular user - As someone just using the Linux system, you probably have your own unique user name and password. Often, that name is associated with your real name (such as johnb, susanp, or djones). If you are still not sure why you need a user login, see the sidebar "Why Do I Need a User Login?"
Why Do I Need a User Login? If you are working on a PC, and you are the only one using your Linux computer, you may wonder why you need a user account and password. Unlike Windows, Linux (as its predecessor UNIX) was designed from the ground up to be a multiuser system. Here are several good reasons why you should use separate user accounts:
-
Even as the only person using Linux, you want a user name besides root for running applications and working with files so you don't change critical system files by mistake during everyday computer use.
-
If several people are using a Linux system, separate user accounts let you protect your files from being accessed or changed by others.
-
Networking is probably the best reason for using a Linux system. If you are on a network, a unique user name is useful in many ways. Your user name can be associated with resources on other computers: file systems, application programs, and mailboxes to name a few. Sometimes a root user is not allowed to share resources on remote Linux systems.
-
Over time, you will probably change personal configuration information associated with your account. For example, you may add aliases, create your own utility programs, or set properties for the applications you use. By gathering this information in one place, it's easy to move your account or add a new account to another computer in the future.
-
Keeping all your data files and settings under a home login directory (such as /home/chris ) makes it easier to backup the data and restore it later if needed.
-
-
The root user - Every Linux system has a root user assigned when Linux is installed. The root user (literally type the user name root ) can run programs, use files, and change the computer setup in any way. Because the root user has special powers, and can therefore do special damage, you usually log in as a regular user (which allows access only to that user's files and those that are open to everyone).
| Cross-Reference | See Chapter 10 for a description of the root user and Chapter 11 for information on how to set up and use other user accounts. Refer to Chapter 14 for suggestions on how to choose a good password. For information on instances where the root user doesn't have complete control over the system, refer to the descriptions of SELinux (Security-Enhanced Linux) in Chapter 10. |
If your desktop did not start, refer to the "Troubleshooting Your Desktop" section at the end of this chapter. Otherwise, continue on to the next section.
Категории