domainname foms.msk.su
echo foms.msk.su > /etc/defaultdomain
mkdir /var/yp
/etc/rc.local :
===============================================================
ypserv
ypbind
rpc.yppasswdd /etc/passwd -m passwd
ypxfrd
===============================================================
NIS-Makefile /var/yp
===============================================================
cp /usr/lib/NIS.Makefile /var/yp/Makefile
CD-ROM
cd /tmp
/usr/etc/extract_files sr0 root -f ./var/yp/Makefile
mv ./var/yp/Makefile /var/yp/Makefile
===============================================================
-
===============================================================
cd /usr/etc/yp
ypinit -m
slave-, CTRL-D
===============================================================
, NIS
-
cd /var/yp
make
domainname foms.msk.su
echo foms.msk.su > /etc/defaultdomain
mkdir /var/yp
/etc/rc.local :
===============================================================
ypbind
===============================================================
domainname foms.msk.su
echo foms.msk.su > /etc/defaultdomain
mkdir /var/yp
/etc/rc.local :
===============================================================
ypserv
ypbind
===============================================================
NIS- -NIS
===============================================================
cd /usr/etc/yp
ypinit -s master_nis_server.your.nis.domain
===============================================================
"" -
===============================================================
-
cd /usr/etc/yp
ypcat -k ypservers > /tmp/tmp-file
echo nowyj_slave_server >> /tmp/tmp-file
ypinit -m < /tmp/tmp-file
===============================================================
slave-
===============================================================
slave-
ypxfr, -
NIS-.
/usr/etc/yp/ypfxr_1perday
/usr/etc/yp/ypfxr_2perday
root-crontab. ,
.
crontab -l
===============================================================
ypwich
ypwich -m
ypwich clientname
yppush map
ypcat map
ypcat -k map
ypmatch key1 key2 map
Last-modified: Sat, 27 May 1995 10:27:43 GMT