Page 137 - RHEL8 BOOK
P. 137
Configuring Client
13. Install the package by using one of the installation methods
[root@comp1 ~]# yum install ypbind* yp-tools* -y
14. Assigning an NIS domain
[root@comp1~]# nisdomainname zoom.com
NOW LOG OFF AND LOG IN
15. Assigning an NIS domain - Permenant
[root@comp1~]# vi /etc/sysconfig/network
NISDOMAIN=ZOOM.COM
16. Connecting to server for authentication
[root@comp1 ~]# authconfig-tui
Select [*] use NIS
[OK]
Select
Domain zoom.com
Server 192.168.10.11
17. Mounting home directories of the users
[root@comp1 ~]# mount 192.168.0.253:/home /home
18. Checking for connectivity
[root@comp1 ~]# ypwhich
19. NOW LOG IN AS A NIS SERVER USER
[root@comp1 ~]#su – user1
S. Pradhan
(MCA, MBA-IT, BCA, CCNA, MCSA 2012, RHCE, ETHICAL HACKING)
Email Id:-spradhan.iiht@gmail.com
137