Version 1.0 SERIES 3000
IRIS OWNER’S GUIDE 4-3 Workstation Administration
4.2.1 Naming an IRIS Workstation
The default name of a new IRIS workstation is IRIS. If you have more than
one workstation on a network, you must assign each workstation a unique
name. The name can be up to eight characters long and must contain no
blanks.
To change the name of a workstation, edit the file /etc/sys_id and reboot the
system. To display the system name at login, change the name in the file
/etc/gettydefs. To display a message at login, edit the file /etc/motd (message of
the day). To determine the current name of the system, use the hostname(1)
command.
4.2.2 Adding a New Account
The IRIS workstation is shipped with six user accounts: root, rootcsh, rootsh,
guest, demos, and mexdemos. The root and rootcsh accounts are super-user
accounts with a C shell environment. The rootsh account is a super-user
account with a Bourne shell environment. The guest account is a sample user
account with a C shell environment. The demos and mexdemos accounts are for
running demonstrations (see Chapter 9).
The accounts shipped on a new IRIS workstation have no passwords. To
establish passwords tor these accounts, follow the procedure below. See the
passwd manual page for more information.
Typically, each user on an IRIS workstation is given his or her own account.
The procedure for creating a new account on the IRIS workstation consists of
adding the new user to the file /etc/passwd, creating a home directory tor the
user, and setting up startup files to define the user’s environment. The details
of this procedure are presented below. You should become the super-user to
create a new account (see above).
1. Add a line for the new account to the file /etc/passwd. Figure 4-1
contains a sample /etc/passwd file.
The file /etc/passwd contains a line for each account on a Un i x system.
Each line has seven fields separated by colons (:).
Field Contents
1
2
3
4
5
6
7
Account name
Encrypted user password
User number
Group number
User’s real name
Home directory (default /)
Login shell (default /bin/sh)