[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 2: Getting Started on a UNIX System

2.1 Logging In

There are different ways to access a UNIX system:

	telnet host

The system will prompt for your login name (or username) and for your password. Below is a sample login session from an X terminal to node FSGI01 of the FNALU system (note that the system prompt is set to the node name under FUE):

Connecting to host "fsgi01"......success.


IRIX System V.4 (fsgi01)

login: username
Password:(password is not shown)
IRIX Release 5.2 IP7 fsgi01
Last login: Tue Oct 24 09:27:14 by UNKNOWN@dcdx03.fnal.gov
Terminal Type is xterm


There are no available articles.
<fsgi01>

The login name must be all lower case characters, but the password may contain upper and lower case characters. Be sure to enter them in the correct case, because UNIX is case sensitive. Note that if you do use upper case to log in, UNIX may assume you have an upper-case-only terminal and you will have very limited capability. If you do so, either log out and log back in again, or enter the command:

% stty -lcase

When you log in, a series of login scripts is run to define the functionality of your terminal and to set up your environment. These start-up files have been customized under FUE and are called the Fermi files. They are listed in Appendix C. The Fermi files provide the common environment described in Chapter 9.

At login, the system will type out:

Terminal Type is {termtype} 

where {termtype} represents the best guess depending on exactly how and from where you entered the system. To change this terminal type, see section 9.7.

2.1.1 C Shell Family

The C shell runs two files when you log in, first a file named .cshrc and then a file named .login. They are both located in your home directory. See section 9.4.1 for details.

2.1.2 Bourne Shell Family

In the Bourne shell family the .profile and .shrc files, located in your home directory, are run when you log in.[7] Sometimes ksh runs .kshrc in place of .shrc. See section 9.4.2 for details.


[6] telnet is described in section 13.2. Also described there is the utility rlogin, which can be used instead of telnet.
[7] Bourne shell (sh) does not run .shrc. Sometimes (more common recently) vendors have linked sh to ksh (see section 9.4.2), effectively replacing sh with ksh.

UNIX at Fermilab - 10 Apr 1998

[Next] [Previous] [Up] [Top] [Contents] [Index]