1nss(4) File Formats nss(4)
2
3
4
6 nss - configuration file for initgroups
7
9 /etc/default/nss
10
11
13 The /etc/default/nss configuration file provides methods for init‐
14 groups(3C) lookup method. The file also provides a method to disable
15 address sorting by name lookup functions. The file controls the behav‐
16 ior of the name service switch routines outside of the source database
17 mappings provided by the /etc/nsswitch.conf file.
18
19
20 /etc/default/nss supports the following options:
21
22 NETID_AUTHORITATIVE Changes the behavior of the name service lookups
23 to use the netid table in response to the init‐
24 groups() call. The netid table is provided by
25 the LOCAL entries of the NIS+ cred.org_dir ta‐
26 ble. By default, initgroups() uses the group ta‐
27 ble. When NETID_AUTHORITATIVE is set to TRUE,
28 initgroups() uses netid as the source for sup‐
29 plementary groups rather than the group table.
30
31 The name service administrator must ensure that
32 the netid table contains valid supplementary
33 group information for users. Not all name ser‐
34 vices can automatically keep the members listed
35 in the group table in sync with the netid table.
36
37
38 SORT_ADDRS If this option is set to FALSE, the sorting of
39 addresses is disabled on addresses that are
40 returned by name lookup functions such as init‐
41 groups(), gethostbyname(3NSL), netdir_getby‐
42 name(3NSL), getaddrinfo(3SOCKET), and getipnode‐
43 byname(3SOCKET). Setting this option to FALSE is
44 useful when the order of addresses returned by
45 the nameserver needs to be maintained. To use
46 the DNS round robin feature, for example,
47 address sorting by name lookup functions should
48 be disabled.
49
50 By default, address sorting is enabled.
51
52
54 See attributes(5) for descriptions of the following attributes:
55
56
57
58
59 ┌─────────────────────────────┬─────────────────────────────┐
60 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │Availability │SUNWcsr │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │Interface Stability │Evolving │
65 └─────────────────────────────┴─────────────────────────────┘
66
68 getaddrinfo(3SOCKET), gethostbyname(3NSL), getipnodebyname(3SOCKET),
69 initgroups(3C), netdir_getbyname(3NSL), nsswitch.conf(4), attributes(5)
70
71
72
73SunOS 5.11 20 Nov 2003 nss(4)