Linux OS Service ‘yppasswdd’

The yppasswdd service executes the yppasswdd daemon. The yppasswdd is a part of NIS (Network Information Service formerly Yellow Pages) server. This server allows users to change their password on a NIS server from a NIS client. The service must be run on the NIS master server for that NIS domain in conjunction with ypserv, the NIS server daemon.

When a yppasswd client contacts the server, it sends the old user password along with the new one to rpc.yppasswdd which will search the system’s passwd file for the specified user name, verify that the given (old) password matches, and update the entry. If the user specified does not exist, or if the password, UID or GID doesn’t match the information in the password file, the update request is rejected, and an error returned to the client. This is a service to run daemon /usr/sbin/rpc.yppasswdd

Service Control

How to start or stop yppasswdd

#/etc/init.d/yppasswdd start |stop

Output of “/sbin/chkconfig –list yppasswdd”

# /sbin/chkconfig --list yppasswdd
yppasswdd       0:off 1:off 2:off 3:off 4:off 5:off 6:off

Examples of all usage options

# /sbin/init.d/yppasswd
Usage: /etc/init.d/yppasswdd {start|stop|status|restart|reload|condrestart}

RPM name that provides the service is :

# yum whatprovides /usr/sbin/rpc.yppasswdd
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
ypserv-2.31-8.el7.x86_64 : The NIS (Network Information Service) server
Repo        : local_repo
Matched from:
Filename    : /usr/sbin/rpc.yppasswdd

Configuration

This service uses the following files on the NIS server host:

/usr/sbin/rpc.yppasswdd
/usr/lib/yp/pwupdate
/etc/passwd
/etc/shadow
Related Post