Installation guide

There may be times when a user forgets his or her password. If this
happens, change the user’s password as described in Section 9.2.1.4 and
tell the user the new password.
9.3.2 Changing the user_info Field
The user_info field in the passwd file contains the name, room number,
office phone, and home phone of the user. To change this information, use
the chfn command with the following syntax:
chfn
[ username]
For example, to change the information for user marcy, enter:
% chfn marcy
The system displays information similar to the following example. The
brackets ([ ])indicate a default response. Press Return to accept the
defaults or enter a different response and press Return.
Default values are printed inside of ’[]’.
To accept the default, type <return>.
To have a blank entry, type the word ’none’.
Name [Marcy Swanson]:
Return
Room number (Exs: 597E or 197C) []: Return
Office Phone (Ex: 6426000) []: 3311
Home Phone (Ex: 9875432) []:
Return
9.3.3 Changing the Login Shell
There may be a time when you want to change a user’s login shell. To see a
list of the shells the user is allowed to select from, enter the following
command:
# cat /etc/shells
The system prints a list similar to the following:
/bin/sh
/bin/csh
/bin/ksh
To change a user’s login shell, use the chsh command with the following
syntax:
chsh
[ username]
For example, to change user marcy’s login shell from the Bourne shell to
the C shell, enter:
# chsh marcy
Administering User Accounts and Groups 9–15