Initializing UNIX
The first UNIX program to be run is called “/etc/init” (11.17)
It forks and then execs one “/etc/getty” per terminal
getty sets up the terminal properly, prompts for a login name, and then execs “/bin/login”
login prompts for a password, encrypts a constant string using the password as the key, and compares the results against the entry in the file “/etc/passwd”
If they match, “/usr/bin/csh” (or whatever is specified in the passwd file as being that user’s shell) is exec’d
When the user exits from their shell, the process dies. Init finds out about it (wait system call), and forks another process for that terminal