![Page 1: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/1.jpg)
![Page 2: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/2.jpg)
NIS SERVER
• The two common authentication services
are the Network Information Service (NIS)
and the Lightweight directory Access Protocol (LDAP).
• Both NIS and LDAP allows to manage all users &
computer centrally
![Page 3: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/3.jpg)
How Local Authentication works ?
LinuxClient
LinuxClient
user1 user2
![Page 4: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/4.jpg)
Solution for Local Authentication
LinuxClient
LinuxClient
user1 user2
user2 user1
![Page 5: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/5.jpg)
How NIS works ?
LinuxClient
NISServer
LinuxClient
192.168.0.253
user1
user2
![Page 6: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/6.jpg)
Requirements
• Packages ypserv-2.13.5.i386.rpmypbind-1.17.2-3.i386.rpm yp-tools-2.8-7.i386.rpm
• Port NumbersNIS uses random port numbers [root@comp1 ~]# rpcinfo -p
• Configuration File/var/yp/Makefile
• Serviceypservyppasswdd
• Daemonsypservyppasswdd
![Page 7: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/7.jpg)
NIS Configuration
LinuxClient
NIS + NFS Server
LinuxClient
/home 192.168.0.253
user1user2
ZOOM.COM
![Page 8: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/8.jpg)
Configuring NIS Server
Install the package by using one of the installation methods
[root@comp1~]# mount 192.168.0.250:/var/ftp/pub/RedHat/RPMS/ /mnt
[root@comp1 ~]# cd /mnt
[root@comp1 ~]# rpm -ivh yp* --force --aid
Assigning an NIS domain
[root@comp1~]# nisdomainname zoom.com
Assigning an NIS domain - Permenant
[root@comp1~]# vi /etc/sysconfig/network
![Page 9: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/9.jpg)
/etc/sysconfig/network
Add below line
NISDOMAIN=ZOOM.COM
![Page 10: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/10.jpg)
NIS Server
To restart the NIS services
[root@comp1 ~]# service portmap restart
[root@comp1 ~]# service yppasswdd restart
![Page 11: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/11.jpg)
Configuring NIS Server
Open configuration for editing
[root@comp1~]# vi /var/yp/Makefile
![Page 12: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/12.jpg)
/var/yp/Makefile
To change the below option
NOPUSH=TRUE
all : passwd group hosts \
![Page 13: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/13.jpg)
NIS Server
To restart the NIS services
[root@comp1 ~]# service ypserv restart
![Page 14: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/14.jpg)
NIS Server
To build database of users & groups
[root@comp1 ~]# /usr/lib/yp/ypinit -m
To create users
[root@comp1 ~]#useradd user1
[root@comp1 ~]#useradd user2
To update database with new users
[root@comp1 ~]# useradd user3
[root@comp1 ~]# useradd user4
[root@comp1 ~]# cd /var/yp
[root@comp1 ~]# make
![Page 15: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/15.jpg)
![Page 16: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/16.jpg)
Requirements
• Packages portmap-4.0-63.i386.rpmnfs-utils-1.0.6-46.i386.rpm
• Port Numbers2049 Nfsd 111 Portmap
• Configuration File/etc/exports
• Serviceportmap nfs
• Daemonsnfsd mountd statd lockd
![Page 17: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/17.jpg)
Configuring NFS Server
Install the package by using one of the installation methods
[root@comp1~]# mount 192.168.0.250:/var/ftp/pub/RedHat/RPMS/ /mnt
[root@comp1 ~]# cd /mnt
[root@comp1 ~]# rpm -ivh nfs* --force --aid
Open configuration for editing
[root@comp1~]# vi /etc/exports
![Page 18: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/18.jpg)
/etc/exports
To add the below
/home 192.168.0.0/255.255.255.0(rw,sync)
![Page 19: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/19.jpg)
NFS Server
To restart the NFS services
[root@comp1 ~]# service nfs restart
![Page 20: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/20.jpg)
Configuring Client
Install the package by using one of the installation methods
[root@comp1~]# mount 192.168.0.250:/var/ftp/pub/RedHat/RPMS/ /mnt
[root@comp1 ~]# cd /mnt
[root@comp1 ~]# rpm -ivh ypbind* yp-tools* --force --aid
Assigning an NIS domain
[root@comp1~]# nisdomainname zoom.com
Assigning an NIS domain - Permenant
[root@comp1~]# vi /etc/sysconfig/network
![Page 21: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/21.jpg)
/etc/sysconfig/network
Add below line
NISDOMAIN=ZOOM.COM
![Page 22: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/22.jpg)
Configuring Client
Connecting to server for authentication
[root@comp1 ~]# authconfig
Mounting home directories of the users
[root@comp1 ~]# mount 192.168.0.253:/home /home
Checking for connectivity
[root@comp1 ~]# ypwhich
![Page 23: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/23.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253
![Page 24: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/24.jpg)
user1
![Page 25: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/25.jpg)
****
![Page 26: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/26.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253
user1
LOCAL USER DATABASE
****user1 ****
user1 foundAuthentication
SuccessfulAccess - Granted
![Page 27: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/27.jpg)
![Page 28: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/28.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253
![Page 29: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/29.jpg)
user2
![Page 30: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/30.jpg)
****
![Page 31: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/31.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253
user1
LOCAL USER DATABASE
****
user2 not foundAuthentication
FailAccess - Denied
![Page 32: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/32.jpg)
![Page 33: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/33.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253
![Page 34: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/34.jpg)
user2
![Page 35: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/35.jpg)
****
![Page 36: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/36.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253
user2
LOCAL USER DATABASE
****user2 ****
user2 foundAuthentication
SuccessfulAccess - Granted
![Page 37: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/37.jpg)
![Page 38: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/38.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253
![Page 39: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/39.jpg)
user1
![Page 40: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/40.jpg)
****
![Page 41: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/41.jpg)
How Local Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253
user2
LOCAL USER DATABASE
****
user1 not foundAuthentication
FailedAccess - Denied
![Page 42: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/42.jpg)
![Page 43: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/43.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253
![Page 44: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/44.jpg)
user1
![Page 45: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/45.jpg)
****
![Page 46: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/46.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253 ****user2
user1
NIS USER DATABASE
****user1 ****
user1 foundAuthentication
SuccessfulAccess - Granted
Request to
NIS
for Authentica
tion of
user1
Reply from NIS
Authenticating
user1
![Page 47: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/47.jpg)
![Page 48: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/48.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253
![Page 49: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/49.jpg)
user2
![Page 50: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/50.jpg)
****
![Page 51: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/51.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253 ****user2
user1
NIS USER DATABASE
****
user2 ****
user2 foundAuthentication
SuccessfulAccess - Granted
Request to
NIS
for Authentica
tion of
user2
Reply from NIS
Authenticating
user2
![Page 52: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/52.jpg)
![Page 53: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/53.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
192.168.0.253
User1
![Page 54: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/54.jpg)
user1
![Page 55: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/55.jpg)
****
![Page 56: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/56.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User1
192.168.0.253 ****user2
user1
NIS USER DATABASE
****user1 ****
user1 foundAuthentication
SuccessfulAccess - Granted
Request to NIS
for Authentication of
user1Reply from NIS
Authenticating
user1
![Page 57: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/57.jpg)
![Page 58: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/58.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
192.168.0.253
User2
![Page 59: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/59.jpg)
user2
![Page 60: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/60.jpg)
****
![Page 61: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/61.jpg)
How NIS Authentication works ?
LinuxClient
NISServer
LinuxClient
User2
192.168.0.253 ****user2
user1
NIS USER DATABASE
****
user2 ****
user2 foundAuthentication
SuccessfulAccess - Granted
Request to NIS
for Authentication of
user1Reply from NIS
Authenticating
user1
![Page 62: NIS SERVER The two common authentication services · Client NIS Server Linux Client User2 192.168.0.2user532 **** user1 NIS USER DATABASE **** user2 found Authentication Successful](https://reader035.vdocuments.net/reader035/viewer/2022063012/5fca0575b414e721fe5dcbfa/html5/thumbnails/62.jpg)