TUCOWS NETWORK |
LINUXBERG | TUCOWS | FREETHEMES | GAMINGPLACE | eBarn | PDA Central | HOME |
|
|
H
HOWTO
's (HOWTOs in html) plain text (HOWTOs in plain text for printing) html'd (Mini-HOWTOs) plain text (Mini-HOWTOs) LDP Additions (Latest from LDP) Other Formats (LDP Other Formats) Translations (LDP Other Languages) Unmaintained (LDP Unmaintained)
Contrib
|
![]() ![]() ![]() 5. What happens when you log in?When you log in (give a name and password) you identify yourself to
Here's a bit more about what the system does before giving you a shell; you'll need to understand them later when we talk about file permissions. You identify yourself with a login name and password. That login name is looked up in a file called /etc/password, which is a sequence of lines each describing a user account. One of these fields is an encrypted version of the account password. What
you enter as an account password is encrypted in exactly the same way, and
the Once you have successfully logged in, you get all the privileges associated with the individual account you are using. You may also be recognized as part of a group. A group is a named collection of users set up by the system administrator. Groups can have privileges independently of their members' privileges. A user can be a member of multiple groups. (For details about how Unix privileges work, see the section below on permissions .) (Note that although you will normally refer to users and groups by name,
they are actually stored internally as numeric IDs. The password file
maps your account name to a user ID; the Your account entry also contains your home directory,
the place in the Unix file system where your personal files will live.
Finally, your account entry also sets your shell,
the command interpreter that
![]() ![]() ![]() |
_________________________________
Last Edited: Thursday, January 21, 1999 03:11 PM
Maintainer: Rob Kennedy (rob@linuxberg.com)
Site Design - Graphicjam Digital
Arts Inc. 1999.
® 1999 TUCOWS Interactive Ltd. All rights
reserved