|
̾??yp —
YP/NIS ?????ƥ??ξܺ?
????yp
????YP
???֥????ƥ??????Ѥ????ȡ?passwd, group, netgroup,
hosts, services, rpc, bootparams, ethers
?γƥե??????Υ????ȥ?
?δؿ????̤??ƥͥåȥ?????????뤳?Ȥ??Ǥ??ޤ?:
getpwent(3),
getgrent(3),
getnetgrent(3),
gethostent(3),
getnetent(3),
getrpcent(3),
ethers(3)
??
bootparamd(8)
?ǡ??????ϡ? NIS
?饤?֥?????ľ?ܸƤӽФ??ޤ????ʤ??ʤ顢
ɸ?? C ?饤?֥????Ǥϡ?bootparams
???ɤ߹???
?ؿ???¸?ߤ??ʤ??????Ǥ??? hosts, services, rpc
?Υǡ????١????? NIS
?ǥ??ݡ??Ȥˤ????ˤϡ?
/etc/host.conf ?ե??????? nis
?ιԤΥ??????Ȥ??Ƥ?????????
?Ĥ??Υǡ????١????? NIS
?ǤΥ??ݡ??ȤˤĤ??Ƥϡ?
Ŭ?ڤʥե??????????̤ʰ?̣?????? '+'
?????ȥ???????ͭ???ˤʤ??ޤ???
NIS ?? RPC ?١????? ???饤?????ȥ????Х????ƥ??Ǥ??ꡢ NIS ?ɥᥤ?????Υޥ?????Ʊ???????ե?????????ͭ?Ǥ????褦?? ???륷???ƥ??Ǥ??? NIS ?????Ѥ??뤳?Ȥǡ??????ƥ??????ԤϺ????¤??????ǡ????????? NIS ???饤?????ȥ????ƥ???Ω???夲?뤳?Ȥ??Ǥ??? 1 ?Ĥξ??꤫???????ǡ??????ɲä????ꡢ?ä????ꡢ?ѹ??????? ???뤳?Ȥ??Ǥ??ޤ??? NIS ?Τ??٤Ƥξ??????????ʥ??ԡ??? NIS ?ޥ????????? ?ȸƤФ??? 1 ?ĤΥޥ?????????¸?????ޤ??? ????????¸?????Τ˻??Ѥ??????ǡ????١????? NIS ?ޥå? ?ȸƤФ??Ƥ??ޤ??? FreeBSD ?Ǥϡ? ???????Υޥåפ? /var/yp/[domainname] ????¸?????ޤ??? ?????ǡ? [domainname] ?ϡ??????ӥ????????Ƥ??? NIS ?ɥᥤ??̾?Ǥ??? 1 ?Ĥ? NIS ?????Ф? ???٤?ʣ???Υɥᥤ???ݡ??Ȥ??뤳?Ȥ??Ǥ??ޤ??????Τ??ᡢ ???Τ褦??̾???Υǥ??쥯?ȥ꤬ʣ???????Ȥ??????Ȥ⤢?????ޤ??? ???ݡ??Ȥ??????ɥᥤ?? 1 ?ĤˤĤ???1 ?ĤΥǥ??쥯?ȥ????????ޤ??? ?ɥᥤ???Ϥ??줾????Ω???? NIS ?ޥåפΥ??åȤ????äƤ??ޤ??? FreeBSD ?Ǥϡ? NIS ?ޥåפ? Berkeley DB ?ϥå????Υǡ????١????ե????? (?????ϡ? passwd(5) ?ǡ????١????ե??????ǻ??Ѥ????Ƥ????ե????ޥåȤ?Ʊ?????ΤǤ?) ?ˤʤäƤ??ޤ??? ¾?Υ??ڥ졼?ƥ??????ƥ??ǡ? NIS ?ݡ??Ȥ??Ƥ??????ΤǤϡ??Ť??????? nbdm ?ǡ????١????? ???????˻??Ѥ??Ƥ??ޤ? (Sun Microsystems ?Ҥ??ǽ??? NIS ?μ????? ndbm ???ǹԤä????Ȥ??礭???װ??Ǥ???¾?Υ٥????ϡ? ??ʬã???̤Υǡ????١????ե????ޥåȤ??ȤäƼ??????Ԥ鷺?ˡ? ñ?? Sun ?Υ????ɤΥ饤???????????Ȥ??????ȤǤ?)?? ???????Υ????ƥ??Ǥϡ??ǡ????١??????̾? .dir ?ե??????? .pag ?ե???????ʬ???????Ƥ??ޤ???ndbm ?????ɤϡ??????? 2 ?Ĥ? ?ե????????Ȥäơ??ϥå????ǡ????١??????̡?????ʬ?? ?ݻ??????褦?ˤʤäƤ??ޤ???Berkeley DB ?ϥå????? ??ˡ?Ǥϡ????? 2 ?Ĥ???ʬ??ʬ?????Ƥ??????????ݻ??????Τ? ñ???Υե????????Ȥ??ޤ??? ?Ĥޤꡢ¾?Υ??ڥ졼?ƥ??????ƥ??Ǥϡ? passwd.byname.dir ?ե??????? passwd.byname.pag ?ե????뤬?????Τ??Ф? (?????? 2 ?ĤϤɤ?????Ʊ???ޥåפΰ???ʬ?Ǥ?)?? FreeBSD ?Ǥϡ? passwd.byname ?Ȥ???̾???Υե????뤬?ҤȤĤ????????ޤ??? ???Υե????ޥåȤΰ㤤?ϡ????????ƽ??פǤϤ????ޤ????? NIS ?????? ypserv(8) ?????ƴ?Ϣ?Τ????ġ??뷲???????? NIS ?ޥåפΥե????ޥåȤ??ɤ??ʤäƤ????Τ????Τ? ɬ?פ??????ޤ??? NIS ???饤?????ȥ????ƥ??Ǥϡ? NIS ?ǡ????Ϥ??٤? ASCII ?????Ǽ????????ޤ??? NIS ?????ƥ??ˤϡ????פ? 3 ?ĤΥ????פ??????ޤ???
NIS ???饤?????Ȥϡ? ypbind(8) ?ǡ??????????Ѥ??? NIS ?????ФȤ??????? ?Х????? ????Ω???ޤ??? ypbind(8) ?ϥ????ƥ??Υǥե????ȤΥɥᥤ?????????å??? ( domainname(1) ???ޥ??ɤ????ꤵ???ޤ?)?? RPC ?ꥯ?????Ȥ??????????ͥåȥ?????ǥ֥????ɥ??㥹?? ???Ϥ??ޤ??? ypbind(8) ???Х????ɤ???Ω???褦?Ȥ??Ƥ????ɥᥤ??̾?ϡ? ???????Υꥯ?????Ȥ????ꤷ?ޤ??? ?ꥯ?????ȤΤ??ä??ɥᥤ???Υ????ӥ????Ԥ??褦?? ???ꤵ???Ƥ??륵???Ф????Υ֥????ɥ??㥹?ȥ??å??????? ?????????ȡ? ???Υ????Фϡ? ypbind(8) ???Ф??Ʊ??????ޤ????????ơ? ypbind(8) ?Ϥ??Υ????ФΥ??ɥ쥹????Ͽ?????ΤǤ????⤷??ʣ???? ?????Ф????Ѳ?ǽ?Ǥ????ʤ? (?㤨?С??ޥ????????? 1 ???ȥ??졼?֥????п????Ȥ????褦?ʾ???)?? ypbind(8) ?ϡ????ֺǽ??˱??????Ƥ????????ФΥ??ɥ쥹?????Ѥ??ޤ??? ???λ??????顢???饤?????ȥ????ƥ??? NIS ?ꥯ?????Ȥ٤Ƥ??Υ????Ф??????ޤ??? ypbind(8) ?ϻ????????Ф? "ping" ?????????Ф??ޤ??夬?äƤ??ơ?ư?? ???Ƥ??뤫????ǧ???ޤ??????? ping ?α?????Ŭ?ڤʻ??????? ?????????ʤ??????ϡ? ypbind(8) ?ϡ??Х????ɤ????Ƥ??ʤ??Ȥ??????Υɥᥤ???ˤĤ??????? ?֥????ɥ??㥹?Ȥ??Ϥ????̤Υ????Фξ????????? ???褦?Ȥ??ޤ??? NIS ?ޥ????????Ф????ӥ??졼?֥????ФǤϡ? NIS ?Υꥯ?????ȤϤ??٤? ypserv(8) ?ǡ??????ǰ????ޤ??? ypserv(8) ?ǡ??????ϡ? NIS ???饤?????Ȥ??????äƤ????ꥯ?????Ȥ????????ꡢ ?ꥯ?????Ȥ??줿?ɥᥤ???ӥޥå?̾???б??????ǡ????١??? ?ؤΥѥ????Ѵ????????Υǡ????١????????ǡ??????????Ф??? ???饤?????Ȥ??????֤??Ȥ????Ż??Ƥ??ޤ??? ???̤ʥꥯ?????ȤΥ??åȤ????ꡢ ypserv(8) ?Ϥ??Υ??åȤ????褦???߷פ????Ƥ??ޤ??????ΤۤȤ??ɤ? ɸ?? C ?饤?֥??????δؿ??Ȥ??Ƽ????????Ƥ??ޤ???
????¾?ˤ⡢ ypserv(8) ?????????ȤΤǤ????ꥯ?????ȤϤ????Ĥ??????ޤ? (?Ĥޤꡢ?????Υɥᥤ???????Ȥ??Ǥ??Ƥ????Τ??ɤ????? ???????????? (YPPROC_DOMAIN) ?䡢?ɥᥤ???????Ȥ??Ǥ??? ?Ȥ??????????????????Ǥʤ??Ȥ??ˤ??ۤäƤ??????? (YPPROC_DOMAIN_NONACK) ?ʤɤǤ?)?? ???????????????????̡? ypbind(8) ?Τߤ??????????ꥯ?????ȤǤ??ꡢɸ???Υ桼?ƥ????ƥ? ?ǰ????????櫓?ǤϤ????ޤ????? ?ۥ??Ȥ??????ˤ????ͥåȥ?????Ǥϡ????? 1 ???? ?ޥ????????Ф??Ȥ??????⡢?ޥ????????? 1 ????ʣ???Υ??졼?֥????? ???Ȥ??????ɤ????Ȥ?¿???ΤǤ??????졼?֥????Фϡ? ?ޥ????????Ф?????Ʊ???????????ޤ????Ǥ????顢 ?ޥ????????о??Υޥåפ??ѹ??????Ȥ??Ϥ??ĤǤ⿷?????ǡ????? yppush(8) ???ޥ??ɤ??Ȥäƥ??졼?֥????Ф????Ť??????褦?ˤ??٤??Ǥ??? NIS ?? Makefile (/var/yp/Makefile) ???Ȥ??ȡ?????????????ưŪ?˹Ԥ????Ȥ??Ǥ??ޤ??? ???Τ????ˤϡ??????Ԥ? Makefile ?ե????????? NOPUSH=true ?Ƚ줿?Ԥ????ȥ????Ȥ??Ƥ??????? (NOPUSH ?ϡ??ǥե????ȤǤ? true ?????ꤵ???Ƥ??ޤ??? ?ǥե????Ȥ??????Ǥϡ? NIS ?????Ф? 1 ?Ĥ????Ρ??????ʥͥåȥ???ѤˤʤäƤ??뤫???Ǥ?)?? yppush(8) ???ޥ??ɤϡ??ޥ????????Фȥ??졼?֥????ФȤ? ?ȥ??????????Ϥ??ޤ??????δ֤ˡ????졼?֥????Фϡ? ?????Υޥåפ??ޥ????????Ф??顢 ypxfr(8) ???ޥ??ɤ??Ѥ???ž?????ޤ? (???졼?֥????Фϡ? ypserv(8) ?????? ypxfr(8) ???ޥ??ɤ???ưŪ?˸ƤӽФ??ޤ??????Τ??ᡢ?????Ԥ?ľ?? ypxfr(8) ???ޥ??ɤ??¹Ԥ???ɬ?פ????̤????ޤ??????Ǥ⡢ ???????????ʤ顢?????ǤäƼ¹Ԥ??뤳?Ȥ??Ǥ??ޤ?)?? ???졼?֥????Ф??????????ȡ??礭?ʥͥåȥ?????? NIS ?Υѥե????ޥ???????Ω???ޤ?????ͳ?ϼ????̤??Ǥ???
FreeBSD ?? ypserv(8) ?ϡ? FreeBSD ?Υ??饤?????ȥ????ƥ????????Ȥä????硢(¾?? NIS ?μ?????????) ???????줿 ?????????ƥ????????褦???߷פ????Ƥ??ޤ??? FreeBSD ?Υѥ???ɥǡ????١????????ƥ? (?????ϡ? 4.4BSD ???餽?Τޤ????Ѥ??줿???ΤǤ?) ?ˤϡ? ?֥????ɥ??ѥ???ɡ? ?Υ??ݡ??Ȥ??ޤޤ??Ƥ??ޤ???ɸ??Ū?ʥѥ???ɥǡ????١??? ?ˤϡ??Ź沽???줿?桼???ѥ???ɤϴޤޤ??Ƥ??ޤ????? ???????ˡ??Ź沽???줿?ѥ???ɤ? (¾?ξ????Ȱ?????) ?????ѥ桼???Τߤ???????????ǽ?ʥǡ????١?????ʬ???? ??¸?????Ƥ??ޤ??? ?Ź沽???줿?ѥ???ɤ? NIS ?ޥåפȤ????????Ǥ????Ȥ????顢 ???Υ????????ƥ???????Ū?˵?ǽ???ʤ??ʤ??Ǥ??礦???ʤ??ʤ顢 ?桼????ï?Ǥ? NIS ?Υǡ??????????Ǥ??뤫???Ǥ??? ?Ź沽???줿?ѥ???ɤ? NIS ??ͳ?Ǽ????????ʤ??褦?ˤ??뤿?ᡢ FreeBSD ?? NIS ?????ФǤϡ??ü?????ˡ?ǥ????ɥ??ѥ???ɥޥå? (master.passwd.byname ?? master.passwd.byuid) ???ޤ????????Фϡ??ø??ݡ??Ȥ????????줿?ꥯ?????Ȥ? ?Ф??????????Ȥ??Τߡ??????ɥ??ѥ???ɥޥåפ? ???????????ޤ????ø??ݡ??Ȥؤ???³?? ???????Ƥ????Τ? root ?????ʤΤǡ??????Фϡ????Τ褦?? ?ꥯ?????ȤϤ??٤??ø??桼?? (root) ?????Τ??ΤǤ????? ???ꤹ???櫓?Ǥ???????¾?Υݡ??Ȥ????Υ????????Ϥ??٤? ???ݤ????ޤ????ø??Τʤ??ݡ??Ȥ????ꥯ?????Ȥ??Ф??Ƥ? ?????Ф????ϥ??顼?????ɤ??֤äƤ????????Ǥ??? ?????ˡ? FreeBSD ?? ypserv(8) ?ϡ?Wietse Venema ?? tcp ???åѥѥå??????ݡ??Ȥ??Ƥ??ޤ??? tcp ???åѤΥ??ݡ??Ȥ?ͭ???ˤ????ȡ??????Ԥϡ? ypserv(8) ???¤??줿???饤?????Ȥ??Ф??ƤΤ߱????????褦?ˡ???????ǽ?Ǥ??? ???????ε?ǽ?????ˤ??äơ????̤? NIS ??????ͥ?줿?????????ƥ????Ǥ??ޤ??????????Ǥ? ?褷?? 100 ?ѡ??????ȸ??̤??????櫓?ǤϤ????ޤ????? ?ͥåȥ???˥????????Ǥ???ï?????????Ф????ޤ??? ?????ɥ??ѥ???ɥޥåפ????????褦?ˤ??뤳?Ȥ? ?????Ǥ???ǽ?ʤΤǤ??? ???饤??????¦?Ǥϡ?
FreeBSD ??
?ߴ????????ƥ??ˤ??äƤϡ??㤨?? SunOS 4.x ?ʤɤǤϡ? ?ۥ???̾?????褹???ؿ? (gethostbyname () ??
gethostbyaddr () ?ʤ?)
??????????ư???뤿???ˤ? NIS
??ư??Ƥ???ɬ?פ????????Τ??????ޤ???
???????ä??????ƥ??Ǥϡ?
ypserv(8)
?ǡ??????ϡ? hosts.byname ???뤤??
hosts.byaddr
?ޥå?????¸?ߤ??Ƥ??ʤ??ۥ??Ȥ˴ؤ???
???????֤??褦???ᤵ?줿?????ˤϡ?
DNS ?Ȥ??ޤ??? FreeBSD
?Υ???Фϡ??ǥե????Ȥ? DNS
???Ȥ??ޤ? (˾???ʤ顢 NIS
???Ȥ??褦?ˤ??Ǥ??ޤ?)?? ???Τ??ᡢ
FreeBSD ?? NIS ?????Фϡ? DNS
???ǥե????ȤǤϻ??Ȥ??ޤ?????
???????????̤ʥե饰???Ĥ???
ypserv(8)
????ư?????????? DNS
?Ȥ????褦?ˤʤ??ޤ??? ?ޤ??? v1
?????Ф?¸?ߤ??뤳?Ȥ??᤹???褦??
?????ƥ??Ȥʤ????????뤿?ᡢ
ypserv(8)
?? NIS v1
?????ФȤ?????Ͽ???뤳?Ȥ??Ǥ??ޤ?
(FreeBSD ?ϡ? NIS v2
?Τ??Ѥ??ޤ?????????¾?Υ????ƥ??Ǥϡ?
SunOS 4.x
?⤽???Ǥ??????Х????ɤ???Ω?????ݤˡ?
v1 ?????? v2
??ξ???ε?ǽ??ͭ???륵???Ф?õ?????????Τ?¿???Ǥ?)??
FreeBSD ??
ypserv(8)
?ϡ??¤? NIS v1 ?ꥯ?????Ȥ??ޤ?????
???????????? "?н??⡼?? (kludge mode)" ?ϡ?v1
?????? v2
??ξ???ε?ǽ??ͭ???륵???Ф????Ǥ?õ?????륷???ƥ???
?ۤ餻???ˤ??????Ǥ?
(?????????ü??ʵ?ǽ???ե饰?ˤĤ??Ƥξܺ٤? ypserv(8) ?Υޥ˥奢???ڡ????Ȥ??Ƥ???????)?? ?Х?FreeBSD ?Ǥϡ????? NIS ???饤?????Ȥˤ⥵???Фˤ??ʤ뤳?Ȥ??Ǥ??ޤ????? ypupdated(8) ???뤤?ϡ?yp_update ()
?ؿ??ϥ??ݡ??Ȥ????Ƥ??ޤ????????ˤϡ?ξ???Ȥ?
?????? RPC ??ɬ?פǤ????? FreeBSD
?Ǥϡ??????ˤĤ??Ƥ⥵?ݡ??Ȥ????Ƥ??ޤ?????
getservent(3) ?? getprotoent(3) ?ؿ??ϡ??ޤ? NIS ?ݡ??Ȥ??Ƥ??ޤ????? ?????ʤ??Ȥˡ????????Υե??????? ?????ۤ????ˤ˹???????ɬ?פ??????ޤ????? ?ޥ˥奢???ڡ????????äȤ????????٤??Ǥ????äˡ? ypclnt(3) ?ˤĤ??ƤϤ????Ǥ??? ???Ф餯?ϡ??긵?? Sun ?ޥ?????õ???ơ??????Ѥ? ?ޥ˥奢?????ɤ??Ǥ????????? Sun ?⤳?Υץ????????????Ԥ⡢??ư???? ypbind ???????ФĤ??????ʤ??Ȥ? ??????????????ʬ?????䤹????????ˡ???פ??դ??ޤ????Ǥ????? ????YP ???֥????ƥ??ϡ? Sun
?μ????ȸߴ????????????뤿???ˡ?
Theo de Raadt
???ǽ餫???ޤ?????
?Х??ե??å????Ȳ??? ?????? NIS
?????ФΥ??ݡ??Ȥϡ????? Bill
Paul ???ɲä??ޤ?????
??????¦?Υ????ɤϡ????Ȥ??ȡ?
Peter Eriksson ?? Tobias Reber
???? GNU Public License ?˽??äƤ??ޤ??? Sun
?Υ????ɤϰ??ڻ??Ȥ????ޤ????Ǥ?????
Visit the GSP FreeBSD Man Page Interface. |