Version 1.0 SERIES 3000
IRIS OWNER’S GUIDE 4-7 Workstation Administration
The passwd command can also be used to change passwords. The
passwd program queries the user for the old password before
establishing a new one.
5. Add startup files like .cshrc, .login, and .profile to the new user’s
home directory. These files control the details of the user’s
environment. You can copy the startup files from /usr/people/guest,
modifying them if necessary.
The choice of the C shell or the Bourne shell determines which files
are necessary. If you choose the C shell, the user’s home directory
should contain the files .login and .cshrc. The C shell reads the .cshrc
file in the user’s home directory each time a shell is started. If the
shell is a login shell, the C shell then reads the .login file in the
user’s home directory.
If you choose the Bourne shell, the user’s home directory should
contain the file .profile. The Bourne shell reads the .profile file in the
user’s home directory when a login shell is started. For more
information on the C shell and the Bourne shell, see csh(1) and sh(1).
Each user’s shell startup file should use the tset command to read
/etc/ttytype and set the terminal type, so that screen editors and other
programs know how to communicate with the terminal. The usual
way to use tset with the C shell is to add these lines to your .login
file:
set noglob
set tmp = (`tset -s -Q`)
setenv TERM = tmp[1]
setenv TERMCAP = tmp[2]
unset tmp noglob
Add this line to your .profile file to use tset with the Bourne shell:
eval `tset -s -Q`
For more information, see tset(1) and ttytype(4).