Tuesday, August 2, 2011

/etc/security/environ : AIX - User administration related files


The /etc/security/environ file is an ASCII file that contains stanzas with the environment attributes for users. Each stanza is identified by a user name and contains attributes in the Attribute=Value form with a comma separating the attributes. Each line is ended by a new-line character, and each stanza is ended
by an additional new-line character. If environment attributes are not defined, the system uses default values. The mkuser command creates a user stanza in this file. The initialization of the attributes depends upon their values in the

/usr/lib/security/mkuser.default file.

The chuser command can change these attributes, and the lsuser command can display them. The rmuser command removes the entire record for a user.

A basic /etc/security/environ file is shown in the following example, which has no environment attributes defined. Therefore, the system is using default values.

# pg /etc/security/environ
default:
root:
daemon:
bin:
sys:
adm:
uucp:
guest:


No comments:

Post a Comment