Information Technology Reference
In-Depth Information
Table 3.7
/etc/group Fields
Field
Purpose
group name
The unique name of the group.
password
The password associated with the group. If a password is present, the
newgrp(1) command prompts users to enter it.
GID
The unique numeric group identification.
users
A comma-separated list of user accounts that belong to the group.
The following listing shows the default contents of a Solaris 9 /etc/group
file:
root::0:root
other::1:
bin::2:root,bin,daemon
sys::3:root,bin,sys,adm
adm::4:root,adm,daemon
uucp::5:root,uucp
mail::6:root
tty::7:root,adm
lp::8:root,lp,adm
nuucp::9:root,nuucp
staff::10:
daemon::12:root,daemon
sysadmin::14:
smmsp::25:smmsp
nobody::60001:
noaccess::60002:
nogroup::65534:
User Account Initialization Files
Several initialization (or startup) files are associated with each user account
home directory. These files are used to specify commands to be executed
when the associated event occurs. Depending on the login shell being used
(Bourne Shell, C Shell, or Korn Shell), there might be a login initialization
file, a shell startup file, or a logout file. Table 3.8 lists the various initializa-
tion files.
Table 3.8
Initialization Files
File
Bourne (sh)
C (csh)
Korn (ksh)
Login initialization file
.profile
.login
.profile
Shell startup initialization file
N/A
.cshrc
user-defined
Logout file
N/A
.logout
N/A
Search WWH ::




Custom Search