up previous next contents
Next: Exercise: Examining the "login" Up: Logging In - Without Previous: Your Prompt   Contents

The Login Process

The following step-by-step description shows what happens each time a user logs in to a UNIX computer system.

  1. Users enters their username.
  2. User enters their password.
  3. The operating system confirms your name and password.
  4. A "shell" is created for you based on your entry in the "/etc/passwd" file (in small businesses, this is usually a Bourne Shell).
  5. You are "placed" in your "home"directory.
  6. Startup information is read from the file named "/etc/profile". This file is known as the system login file. When every user logs in, they read the information in this file.
  7. Additional information is read from the file named ".profile" that is located in your "home" directory. This file is known as your personal login file. (This is the file that usually contains the "menu" program.)


up previous next contents
Next: Exercise: Examining the "login" Up: Logging In - Without Previous: Your Prompt   Contents