Beyond the Login Prompt

After the system boots and init (or, more accurately, kdm on a standard OpenLinux install, and gdm on Red Hat and Debian, subject to the vagaries of what you've installed and configured) displays a login, what exactly happens? The short answer is, quite a lot. You'll look at the login process as a whole, but certain portions will be specific to the shell (this text will discuss only Bash, the Bourne Again shell), and other portions will deal with graphical versus non-graphical logins.

In the previous chapter, "System Initialization," you saw that init put a getty (short for get TTY) on a terminal. The getty program calls login to put a login prompt on the screen and handle the login itself.

The sequence of events goes ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.