---
name: "yptest"
section: "8"
platform: "linux"
package: "yp-tools"
version: "4.2.3-4+b2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/yptest"
---

# yptest(8)

test NIS configuration

## NAME

yptest - test NIS configuration

## SYNOPSIS

**yptest \[-q\] \[-d *domain*\] \[-h *host*\] \[-m *map*\] \[-u *user*\]**

## DESCRIPTION

**yptest** calls various NIS functions to check if the NIS configuration is correct and works as expected.

## OPTIONS

- **-q**

  Be quiet, don't print messages

- **-d** *domainname*

  Specify a domain other than the default domain as returned by [**domainname**(8)](/domainname/8.md). This option is not supported by all tests.

- **-h** *hostname*

  Query ypserv on *hostname* instead of the currently used one. This option is not supported by all tests.

- **-m** *map*

  Use the map *map* for the tests instead of *passwd.byname.* This option should be used if the default map does not exist.

- **-u** *user*

  Use the account *user* instead of *nobody.* This option should be used if the *nobody* account does not exist in the map used for testing (*passwd.byname* or the one given with the **-m** option).

## SEE ALSO

[**domainname**(8)](/domainname/8.md), [**ypbind**(8)](/ypbind/8.md), **ypcat**(8), [**ypmatch**(1)](/ypmatch/1.md), [**ypserv**(8)](/ypserv/8.md), [**yppoll**(8)](/yppoll/8.md), [**ypwhich**(1)](/ypwhich/1.md)

## AUTHOR

**yptest** is part of the **yp-tools** package, which was written by Thorsten Kukuk \<kukuk@linux-nis.org\>.
