This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
сервис_nis [2024/02/01 14:05] val [Debian/Ubuntu] |
сервис_nis [2024/07/22 08:23] (current) val |
||
---|---|---|---|
Line 33: | Line 33: | ||
... | ... | ||
</code><code> | </code><code> | ||
- | debian10/11_ubuntu20# cat /etc/default/rpcbind | + | debian10/11/12_ubuntu20# cat /etc/default/rpcbind |
</code><code> | </code><code> | ||
OPTIONS="-w -r" | OPTIONS="-w -r" | ||
Line 39: | Line 39: | ||
debian10_ubuntu20# init 6 | debian10_ubuntu20# init 6 | ||
- | debian11# systemctl enable ypserv | + | debian11/12# systemctl enable ypserv |
- | debian11# systemctl start ypserv | + | debian11/12# systemctl start ypserv |
root@server:~# /usr/lib/yp/ypinit -m | root@server:~# /usr/lib/yp/ypinit -m | ||
Line 158: | Line 158: | ||
corpX.un | corpX.un | ||
</code><code> | </code><code> | ||
- | debian11# cat /etc/yp.conf | + | debian11/12# cat /etc/yp.conf |
</code><code> | </code><code> | ||
... | ... | ||
domain corpX.un server 192.168.X.10 | domain corpX.un server 192.168.X.10 | ||
</code><code> | </code><code> | ||
- | debian11# systemctl enable ypbind | + | debian11/12# systemctl enable ypbind |
- | debian11# systemctl start ypbind | + | debian11/12# systemctl start ypbind |
root@client1:~# ypcat passwd | root@client1:~# ypcat passwd |