Hello,

This is the sample nsswitch file i found in /usr/doc/yp-tools....

i have many m/c which are nis client's server's are solaris 2.6 and home
dir are mapped through nfs servers(file servers).

i just run the ypbind and mv /etc/auto.master and misc to
auto.master.org and misc.org this mount's the automounter maps.

i leave the /etc/nsswitch.conf as it is .

but below you find nsswitch  sujjested by some body what is advantage i
get with this.

what is this compat means?

is nis+ can be implimented on linux?

why do services ,protocols,netmasks, ethers,rpc tobe nis.

there may diffrent services running in each host is right put it as nis?

why autofs always looks at /etc/auto.master even if /etc/nsswitch.conf
points to nis as i told you before i mv it aut......org is there any
batter way of doing it?

can i have slave server and create my own maps in addition to master
maps i mean cani export /home from linux nis slave.

please  some body solve my doughts.

# /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:
#
#       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
#       db                      Use the /var/db databases
#       [NOTFOUND=return]       Stop searching if not found so far
#

passwd:     compat
group:      compat

hosts:      nis files dns

services:   nis [NOTFOUND=return] files
networks:   nis [NOTFOUND=return] files
protocols:  nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   nis [NOTFOUND=return] files
netgroup:   nis
bootparams: nis [NOTFOUND=return] files
publickey:  nis [NOTFOUND=return] files
automount:  files
aliases:    nis [NOTFOUND=return] files
bash$

--
Regards                       ph:5099025
RaghuNath L                   pager:9624395369
WSS-Team,Texas Instruments India.
     You have to live on the edge of reality -
     to make your dreams come true!!!



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to