Logging In

A number of things happen before you see the login: prompt on your terminal. After you enter the login name, the login program is started. It finishes the process of logging you in by prompting for a password, checking the /etc/passwd file, and finally starting up your login shell. Your login shell is specified in the /etc/passwd file like this:

					larissa:*:101:12::/home/larissa:/bin/sh
					renata:*:102:101::/home/renata:/bin/ksh
				

For larissa, the login shell is /bin/sh, while for renata it is /bin/ksh.

Changing the Login Shell

To make the Korn shell your default login shell, have your system administrator change it to /bin/ksh or the pathname of wherever the Korn shell binary is located, or run the chsh command (if available on your ...

Get Korn Shell: Unix and Linux Programming Manual, Third Edition, The 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.