ypdomainname – show or set the system’s NIS/YP domain name

ABOUT NIS

The Network Information Service, or NIS (originally called Yellow Pages or YP), is a client–server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network. Sun Microsystems developed the NIS; the technology is licensed to virtually all other Unix vendors.

Because British Telecom PLC owned the name "Yellow Pages" as a registered trademark in the United Kingdom for its paper-based, commercial telephone directory, Sun changed the name of its system to NIS, though all the commands and functions still start with "yp".

A NIS/YP system maintains and distributes a central directory of user and group information, hostnames, e-mail aliases and other text-based tables of information in a computer network. For example, in a common UNIX environment, the list of users for identification is placed in /etc/passwd, and secret authentication hashes in /etc/shadow. NIS adds another "global" user list which is used for identifying users on any client of the NIS domain.

Administrators have the ability to configure NIS to serve password data to outside processes to authenticate users using various versions of the Unix crypt(3) hash algorithms. However, in such cases, any NIS(0307) client can retrieve the entire password database for offline inspection. Kerberos was designed to handle authentication in a more secure manner.

TYPICAL COMMAND LINE SESSION RELATED

$ypdomainname
ypdomainname: Local domain name not set
$ypdomainname beautifulwork.edu
ypdomainname: you must be root to change the domain name
$dnsdomainname
Jeff
$ypdomainname
ypdomainname: Local domain name not set
$sudo ypdomainname beautifulwork.edu
$ypdomainname
beautifulwork.edu
$

LINK
https://linux.die.net/man/1/ypdomainname
https://en.wikipedia.org/wiki/Network_Information_Service

 

Leave a Reply

Your email address will not be published. Required fields are marked *