yptest(8)
π yptest β test NIS configuration π
okay bestie, so you know that whole NIS situation you've got going on? yptest is literally the vibe check for it. it's a section 8 system manager's manual page, so pull up a chair, grab a boba, and let's get into it π§β¨
πΈ SYNOPSIS πΈ
yptest [-q] [-d domain] [-h host] [-m map] [-u user]
that's it. that's the whole thing. five little flags and a dream π«Ά
β¨ DESCRIPTION β¨
so yptest calls a bunch of NIS functions β like, various ones, all of them, the whole squad β to check if your NIS configuration is correct and actually works the way you expect it to. it's giving "diagnostic tool but make it thorough." if something's off, this is the girly who's gonna tell you π
no cap, it just runs the checks and reports back. main character energy for real.
π OPTIONS π
-qβ be quiet, don't print messages. sometimes you just want the silence, y'know? no thoughts, head empty, no output π€«-ddomainname β specify a domain other than the default domain, the one thatdomainname(8)returns. lowkey important: this option is not supported by all tests π so don't come for it if some of them ignore you.-hhostname β queryypservon hostname instead of the one you're currently using. also β say it with me β this option is not supported by all tests π same energy as the last one, fr fr.-mmap β use the map map for the tests instead ofpasswd.byname. this one should be used if the default map doesn't exist. it's the backup plan, the "we move" option, the slay π-uuser β use the account user instead ofnobody. this option should be used if thenobodyaccount does not exist in the map you're testing with β that'spasswd.bynameor whatever you handed over with the-moption. so ifnobodyis ghosting you, this is how you swap them out π»β¨
pro tip energy:-mand-uare the ones you reach for when the defaults aren't there.-dand-hmight get ignored by some tests and that's just how it is, bestie. no drama.
π SEE ALSO π
these are the sisters, the cousins, the whole extended family β go read them too:
domainname(8)ypbind(8)ypcat(8)ypmatch(1)ypserv(8)yppoll(8)ypwhich(1)
π AUTHOR π
yptest is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. absolute icon, we stan π
and that's the whole page, bestie!! yptest is from YP Tools 4.2.3, dated April 2010 β so it's vintage, it's iconic, it's serving history. now go test that NIS config. periodt π β¨π¦
π¦ where this page comes from
- debian bookworm: yp-tools 4.2.3-3 Β· GPL-2.0-only
- debian trixie: yp-tools 4.2.3-4+b2 Β· GPL-2.0-only
- ubuntu jammy: yp-tools 4.2.3-3 Β· GPL-2.0-only
- ubuntu noble: yp-tools 4.2.3-4build1 Β· GPL-2.0-only
- ubuntu questing: yp-tools 4.2.3-4build1
- ubuntu resolute: yp-tools 4.2.3-6 Β· GPL-2.0-only
- ubuntu stonking: yp-tools 4.2.3-6build1 Β· GPL-2.0-only
- Copyright (C) 2002, 2007, 2010 Thorsten Kukuk
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms