Contains extended group attributes.
The /etc/security/group file contains extended group attributes. This is an ASCII file that contains a stanza for each system group. Each stanza is identified by a group name from the /etc/group file followed by a : (colon) and contains attributes in the form Attribute=Value. Each attribute pair ends with a new-line character as does each stanza. You can have multiple default stanzas in the /etc/security/group file. A default stanza applies to all of the stanzas that follow, but does not apply to the stanzas preceding it.
A stanza can have either or both of the following attributes:
|Defines the group administrators. Administrators are users who can perform administrative tasks for the group, such as setting the members and administrators of the group. This attribute is ignored if admin = true, since only the root user can alter a group defined as administrative. The value is a list of comma-separated user login-names. The default value is an empty string.
| Defines the administrative status of the group. Possible values are:
| Allows the DCE registry to overwrite the local group information with the DCE group information during a DCE export operation. Possible values are:
For a typical stanza, see the "Examples" section.
You should access the /etc/security/group file through the system commands and subroutines defined for this purpose. You can use the following commands to manage groups:
The mkgroup command adds new groups to the /etc/group file and the /etc/security/group file. Use this command to create an administrative group. You can also use the mkgroup to set the group administrator.
Use the chgroup command to change all the attributes. If you are an administrator of a standard group, you can change the adms attribute for that group with the chgrpmem command.
The lsgroup command displays both the adms and the admin attributes. The rmgroup command removes the entry from both the /etc/group file and the /etc/security/group file.
To write programs that affect attributes in the /etc/security/group file, use the subroutines listed in Related Information.
Access Control: This file should grant read (r) access to the root user and members of the security group, and to others as permitted by the security policy for the system. Only the root user should have write (w) access.
A typical stanza looks like the following example for the finance group:
finance: admin = false adms = cjf, scott, sah
This file is part of Base Operating System (BOS) Runtime.
|Specifies the path to the file.
|Contains the basic attributes of groups.
|Contains the basic attributes of users.
|Contains password information.
|Contains the extended attributes of users.
|Contains the environment attributes of users.
|Contains the process resource limits of users.
|Contains audit system configuration information.
|Contains last login information.
The chgroup command, chgrpmem command, lsgroup command, mkgroup command, rmgroup command, setgroups command.
The enduserdb subroutine, getgroupattr subroutine, IDtogroup subroutine, nextgroup subroutine, putgroupattr subroutine, setuserdb subroutine.
File and System Security Overview in AIX Version 4.3 System Management Guide: Operating System and Devices.