View Single Post
  #5 (permalink)  
Old 16-05-2007, 09:29 PM
lacloai lacloai is offline
Member
User
 
Join Date: May 2007
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
lacloai is on a distinguished road
Default Content of nsswitch.conf

Hi,

Thanks a lot for your help. Here is what I got on my nsswitch.conf



login as: root
===> Welcome To Cuong's Linux Machine. Authorized Access Only ===>
Using keyboard-interactive authentication.
Password:
Have a lot of fun...
cn-linux1:~ # clear
cn-linux1:~ # cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# compat Use compatibility setup
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# [NOTFOUND=return] Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#

# passwd: files nis
# shadow: files nis
# group: files nis

passwd: compat
group: compat

hosts: files dns
networks: files dns

services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files

bootparams: files
automount: files nis
aliases: files


cn-linux1:~ #
Reply With Quote