group_override(5sec)The registry group override file. Description The dcelocal/etc/group_override administrative file lets you override the group UNIX ID and member list for a group in the network registry database. The passwd_override file serves a similar function for principals; see the passwd_override(5sec) reference page for more information. Each host machine contains its own group_override file. Override entries contained in the file take effect transparently, but on the local machine only; they have no effect on the centralized registry. You may find group_override especially useful for overriding the default group definitions supplied with the registry if they do not match your local UNIX systems group definitions.
The group_override File Format group_name:passwd:group_uid:members In the override entry, group_name and group_uid are keyfields. You must enter one to identify the group to which the override applies. The keyfield is used to perform a lookup in the override file. The lookup is performed in order as the fields are specified in an override entry: first by group name, then by group UNIX ID. If you specify both keyfields in an override entry, the group_name keyfield is used as the lookup key; the group_uid keyfield is used as an override.
Field Descriptions
group_name
passwd You can also specify OMIT in the passwd field to disallow use of the newgrp command specifying this group on the local machine. The use of OMIT along with an option to the passwd_export command also omits this group from the group file created by passwd_export. (See the topic entitled Using OMIT in this command reference.)
group_uid
members
Leaving Fields Blank
Using OMIT You should also be aware that, if you have omitted groups from the /etc/group file, information about those groups will not be available to any programs that use the group file. For example, the ls -lg command reads the group file to obtain further information about a group. If no group entry exists in the group file, no information will be available. For this reason you should use OMIT to omit groups from the /etc/group file only if your user community is very large and either of the following conditions occur: · The group file is taking up too much space. · Group-ID-to-name mapping is too slow (during ls -lg, for example). Examples 1. To override the group ID of group kmem and change it to 3 on the local machine, include the following in the entry in the group_override file: kmem::3: 2. To override the membership of group system so that it includes only the single account root on the local machine, include the following entry: system:::root 3. To prevent users from invoking newgrp to change their primary group identification to the group typists, and to omit this group from the local group file, put OMIT in the passwd field as follows: typists:OMIT:: Then run the passwd_export command with the -x option to omit the group typists from the /etc/passwd file, as follows: dcelocal/etc/passwd_export -x Related Information Commands: Files: passwd_override(5sec)
|