--- Vn2037 <[EMAIL PROTECTED]> からのメッセージ:
> Bit Takeshi wrote:
> >  Me. kie^'p, doc cu?a tu.i na`y lo^.n tu`ng phe`o
> le^n
> > ddo.c kho^ng hie^?u gi`.
> >
>
http://www.linux-nis.org/nis-howto/HOWTO/settingup_client.html
> > 
> 
> ML kho^ng pha?i la` ca'i cho+. tro+`i !!! A(n no'i
> ca^?n tha^.n nghe chu'

Em vu+`a ddo.c la.i "How To Ask Questions The Smart Way
" va` dda^y la` tech info cu. the^?. Ho^m qua ddo.c ca'i
doc ddo' kho^ng hie^?u gi` bu+.c mi`nh qua'!

/etc/yp.conf:
ypserver 172.21.65.130

dda~ cha.y:

/bin/domainname nis.domain.in.my.network

dda~ the^m "+::::::" va`o /etc/passwd va` ":+++" va`o
/etc/group

File /etc/nsswitch.conf

--------------------------------------
passwd: compat
group:  compat
shadow: compat
netgroup: nis db files

#hosts:     db files nisplus nis dns
hosts:      nis files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
---------------------------------


[EMAIL PROTECTED] root]# cat /etc/host.conf
order hosts,bind,nis
multi on
[EMAIL PROTECTED] root]#


Ba^y gio+`, ne^'u try to su - to root thi` bi. ba'o lo^~i:

[EMAIL PROTECTED] vuhung]$ su -
Password:
YPBINDPROC_DOMAIN: Domain not bound
YPBINDPROC_DOMAIN: Domain not bound
[EMAIL PROTECTED] root]#

Va` nu+~a:


[EMAIL PROTECTED] root]# /etc/init.d/ypbind restart
Shutting down NIS services:                               
     [  OK  ]
Binding to the NIS domain...                              
     [  OK  ]
Listening for an NIS domain server: ..........can't
yp_bind: Reason: Domain not bound
[EMAIL PROTECTED] root]#

softwares cha.y tre^n no':

n
[EMAIL PROTECTED] root]# rpm -qa | grep ^yp
yp-tools-2.8-2mdk
ypserv-2.11-1mdk
ypbind-1.12-3mdk
[EMAIL PROTECTED] root]#

client na`y cha.y Mandrake 10.0, co`n NIS server thi` no'
tre^n 1 con FreeBSD4.9, em cu~ng kho^ng ro~ va` chi? du`ng
no' tho^i.

Em dda~ googled mo-.t ti' va` ddo.c nhu+ng kho^ng ti`m ra
kho^ng tin mi`nh ca^`n.

Mong ca'c ba'c giu'p ddo+~;)

VH

http://www.fedu.uec.ac.jp/~vuhung/
http://chuiyang.org

__________________________________________________
Do You Yahoo!?
http://bb.yahoo.co.jp/



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho