How To Install ypserv on Fedora 36

In this tutorial we learn how to install ypserv in Fedora 36. ypserv is The NIS (Network Information Service) server

Introduction

In this tutorial we learn how to install ypserv on Fedora 36.

What is ypserv

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 NIS server, which will need to be running on your network. NIS clients do not need to be running the server. Install ypserv if you need an NIS server for your network. You also need to install the yp-tools and ypbind packages on any NIS client machines.

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

Install ypserv on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ypserv

Install ypserv on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ypserv

How To Uninstall ypserv on Fedora 36

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

sudo dnf remove ypserv

ypserv Package Contents on Fedora 36

/etc/sysconfig/yppasswdd
/etc/ypserv.conf
/usr/include/rpcsvc
/usr/include/rpcsvc/ypxfrd.x
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/6a50d64110ac416b81898dfc75c7cbbfed0c29
/usr/lib/.build-id/31
/usr/lib/.build-id/31/41d0faf3ae38bec889783c2767a27c4e7bc5ae
/usr/lib/.build-id/41
/usr/lib/.build-id/41/c3dea88c7096487ad2aead8e511c646869204a
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/3293383cacfb420e586f7283e6301de5925c6b
/usr/lib/.build-id/55
/usr/lib/.build-id/55/6d30fc0ba4bbc18c629b821563fdd6b0da6400
/usr/lib/.build-id/69
/usr/lib/.build-id/69/c8e4679b67e2c487149ffc559d7f66061ecbb1
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/d41e7f441805ebd725fd801be4dd7df7924e46
/usr/lib/.build-id/de
/usr/lib/.build-id/de/0255a12c026ad1d80149920d3893c7812d76a9
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/87bd89f2af939a52b04421c80d36da4fba225a
/usr/lib/systemd/system/yppasswdd.service
/usr/lib/systemd/system/ypserv.service
/usr/lib/systemd/system/ypxfrd.service
/usr/lib64/yp/create_printcap
/usr/lib64/yp/makedbm
/usr/lib64/yp/match_printcap
/usr/lib64/yp/mknetid
/usr/lib64/yp/pwupdate
/usr/lib64/yp/revnetgroup
/usr/lib64/yp/yphelper
/usr/lib64/yp/ypinit
/usr/lib64/yp/ypxfr
/usr/lib64/yp/ypxfr_1perday
/usr/lib64/yp/ypxfr_1perhour
/usr/lib64/yp/ypxfr_2perday
/usr/libexec/rpc.yppasswdd.env
/usr/libexec/yppasswdd-pre-setdomain
/usr/sbin/rpc.yppasswdd
/usr/sbin/rpc.ypxfrd
/usr/sbin/yppush
/usr/sbin/ypserv
/usr/share/doc/ypserv
/usr/share/doc/ypserv/AUTHORS
/usr/share/doc/ypserv/COPYING
/usr/share/doc/ypserv/ChangeLog
/usr/share/doc/ypserv/INSTALL
/usr/share/doc/ypserv/NEWS
/usr/share/doc/ypserv/README
/usr/share/doc/ypserv/README.etc
/usr/share/doc/ypserv/TODO
/usr/share/doc/ypserv/locale
/usr/share/doc/ypserv/netgroup
/usr/share/doc/ypserv/netmasks
/usr/share/doc/ypserv/securenets
/usr/share/doc/ypserv/timezone
/usr/share/doc/ypserv/ypserv.conf
/usr/share/man/man5/netgroup.5.gz
/usr/share/man/man5/ypserv.conf.5.gz
/usr/share/man/man8/makedbm.8.gz
/usr/share/man/man8/mknetid.8.gz
/usr/share/man/man8/pwupdate.8.gz
/usr/share/man/man8/revnetgroup.8.gz
/usr/share/man/man8/rpc.yppasswdd.8.gz
/usr/share/man/man8/rpc.ypxfrd.8.gz
/usr/share/man/man8/yphelper.8.gz
/usr/share/man/man8/ypinit.8.gz
/usr/share/man/man8/yppasswdd.8.gz
/usr/share/man/man8/yppush.8.gz
/usr/share/man/man8/ypserv.8.gz
/usr/share/man/man8/ypxfr.8.gz
/usr/share/man/man8/ypxfrd.8.gz
/var/yp/Makefile

References

Summary

In this tutorial we learn how to install ypserv on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).