O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required