18_1_nis

Upload: vadim12345

Post on 13-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/26/2019 18_1_nis

    1/9

    18 1/2

    Network Information ServiceThis work is licensed nder the !reative !ommons "ttri#tion$Noncommercial$No %erivative &orks '()*icense( To view a co+, of this license- visit htt+.//creativecommons(or/licenses/#,$nc$nd/'()/ or send a

    letter to !reative !ommons- 101 Second Street- Site '))- San rancisco- !alifornia- 31)4- 5S"(

  • 7/26/2019 18_1_nis

    2/9

    679:;

    ? NIS

    BC;;

    DB@A?EB FB@A?$@?7?B ; G9H;:::@?7?B

    DB@A?EB ;:AB NIS

  • 7/26/2019 18_1_nis

    3/9

    ? NIS

    J?K: FGB:;E Sn Licros,stems Mellow aes OPQAR @A?B:;CR

    J?9:B>:BH: 9 C:A?B;>7B::UG?B7:; @;@AF:E ;:V?FBC;E ;

    UHA:RF; 9B::RF; J99?K;7BWA@ 7?@;; 1 ; 2

    XF: $ YG@BZ @A?UAU?B( B;F:E G?7?; G9;::@A; ;

    ^;V?7B:;

  • 7/26/2019 18_1_nis

    4/9

    BC;;

    XF:R,+serv

    r+c(,++asswdd A[ :B FB@A?$@?7?

    r+c(,+_frd A[ :B FB@A?$@?7?,+#ind

    `B;AB Sb*in_

    JBAR +ortma+ ; ,+serv

  • 7/26/2019 18_1_nis

    5/9

    DB@A?EB 9F:B NIS

    /etc/s,sconfi/network NIS%L"IN;F9F:B

  • 7/26/2019 18_1_nis

    6/9

    DB@A?EB FB@A?$@?7?B

    /var/,+/secrenets

    /var/,+/Lakefile all. +asswd ro+ hosts netid

    /sr/li#/,+/,+init $m

    ,+serv

    ,++asswdd

  • 7/26/2019 18_1_nis

    7/9

    DB@A?EB G9H;::: @?7?B

    DB FB@A?$@?7? cd /var/,+

    make

    /var/,+/,+servers /sr/li#/,+/,+init $s masterserver

    ,+serv

  • 7/26/2019 18_1_nis

    8/9

    DB@A?EB ;:AB

    s,stem$confi$athentication /etc/s,sconfi/network

    /etc/,+(conf

    /etc/nsswitch(conf /etc/+am(d/s,stem$ath

    J?7?B,+cat

    ,+etent

  • 7/26/2019 18_1_nis

    9/9

    Jg]jg g