Computer Science - Linux - Discussion

Discussion Forum : Linux - Section 1 (Q.No. 12)
12.
What file specifies the order in which to use specified name services?
/etc/services
/etc/nsorder
/etc/nsswitch.conf
/etc/hosts
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

VIKAS NEGI said:   8 years ago
Each line in nsswitch.conf specifies how to search for a piece of information. such as a user's password. A line in nsswitch.conf has the following format:

info: method [[action]] [method [[action]]...]

Methods

Following is a list of the types of information that nsswitch.conf controls searches for (method in the syntax shown on page 455). For each type of information, you can specify one or more of the following methods:

files Searches local files such as /etc/passwd and /etc/hosts
nis Searches the NIS database; yp is an alias for nis
dns Queries the DNS (hosts queries only)
compat ± syntax in passwd, group, and shadow files
(1)

Bhavika said:   9 years ago
To determine the sources from which to obtain name-service information in a range of categories.

Mini said:   10 years ago
What is /etc/nsswitch.conf?

Post your comments here:

Your comments will be displayed after verification.