nsswitchconf
nsswitch.conf is the configuration file used by the Name Service Switch (NSS) in many Unix-like operating systems to determine where to obtain information for various system databases, such as user accounts, groups, and hostnames. The file is typically located at /etc/nsswitch.conf and is read by the C library during lookups performed by functions like getpwnam, getpwuid, getgrnam, gethostbyname, and related routines. The sources specified for each database determine the order and the providers consulted to resolve a query.
Format and syntax: Each non-comment line defines a database and a list of sources in decreasing order
Notes: Lines beginning with # are comments. The file is system-dependent, and supported databases or sources may