How To Install ypbind on CentOS 8

ypbind is The NIS daemon which binds NIS clients to an NIS domain

Introduction

In this tutorial we learn how to install ypbind on CentOS 8.

What is ypbind

The Network Information Service (NIS) is a system that provides network information (login names, passwords, home directories, group information) to all of the machines on a network. NIS can allow users to log in on any machine on the network, as long as the machine has the NIS client programs running and the user’s password is recorded in the NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP). This package provides the ypbind daemon. The ypbind daemon binds NIS clients to an NIS domain. Ypbind must be running on any machines running NIS client programs. Install the ypbind package on any machines running NIS client programs (included in the yp-tools package). If you need an NIS server, you also need to install the ypserv package to a machine on your network.

We can use yum or dnf to install ypbind on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ypbind.

Install ypbind on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ypbind using dnf by running the following command:

sudo dnf -y install ypbind

Install ypbind on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install ypbind using yum by running the following command:

sudo yum -y install ypbind

How To Uninstall ypbind on CentOS 8

To uninstall only the ypbind package we can use the following command:

sudo dnf remove ypbind

ypbind Package Contents on CentOS 8

/etc/dhcp/dhclient.d/nis.sh
/etc/yp.conf
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/b4a892ace4b9431f355863c2468fd518652fa6
/usr/lib/systemd/system/ypbind.service
/usr/libexec/ypbind-post-waitbind
/usr/libexec/ypbind-pre-setdomain
/usr/sbin/ypbind
/usr/share/doc/ypbind
/usr/share/doc/ypbind/NEWS
/usr/share/doc/ypbind/README
/usr/share/licenses/ypbind
/usr/share/licenses/ypbind/COPYING
/usr/share/locale/de/LC_MESSAGES/ypbind.mo
/usr/share/locale/sv/LC_MESSAGES/ypbind.mo
/usr/share/man/man5/yp.conf.5.gz
/usr/share/man/man8/ypbind.8.gz
/var/yp/binding

References

Summary

In this tutorial we learn how to install ypbind on CentOS 8 using yum and dnf.