nss - configuration file for initgroups
/etc/default/nss
The /etc/default/nss configuration file provides methods for initgroups(3C) lookup method. The file also provides a method to change address sorting by name lookup functions. The file controls the behavior of the name service switch routines outside of the source database mappings provided by the /etc/nsswitch.conf file.
/etc/default/nss supports the following options:
Changes the behavior of the name service lookups to use the netid table in response to the initgroups () call. By default, initgroups() uses the group table. When NETID_AUTHORITATIVE is set to TRUE, initgroups() uses netid as the source for supplementary groups rather than the group table.
The name service administrator must ensure that the netid table contains valid supplementary group information for users. Not all name services can automatically keep the members listed in the group table in sync with the netid table.
Changes the behavior of address sorting by host name lookup functions such as gethostbyname(3NSL), getaddrinfo(3SOCKET), and getipnodebyname(3SOCKET).
Causes addresses to be sorted and favour addresses that are considered local; those that are within the configured network space. By default, SORT_ADDRS is set to TRUE.
Disables address sorting. Address list is returned in the order in which they were received.
Addresses are returned in a random order.
See attributes(5) for descriptions of the following attributes:
|
getaddrinfo(3SOCKET), gethostbyname(3NSL), getipnodebyname(3SOCKET), initgroups(3C), nsswitch.conf(4), attributes(5)