up previous next contents
Next: Notes Up: The Login Process Previous: The Login Process   Contents

Exercise: Examining the "login" files.

Step You Type ... Comments/Prompts
1 more /etc/profile This will display the first system startup file that is read when you log in.With the "more" command, you can use the <spacebar> to view the next page, the <Enter> key to view one more line, or type "q" to quit.
2 more .profile This will display your personal startup file.
3 more /etc/passwd This will display the systems "password" file.
4 grep 'root' /etc/passwd "grep" can be thought of as search. It lets you search for text within files. This command searches for the text string "root" within the file named "/etc/passwd".



Subsections
up previous next contents
Next: Notes Up: The Login Process Previous: The Login Process   Contents