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 🀫
  • -d domainname β€” specify a domain other than the default domain, the one that domainname(8) returns. lowkey important: this option is not supported by all tests πŸ™ˆ so don't come for it if some of them ignore you.
  • -h hostname β€” query ypserv on 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.
  • -m map β€” use the map map for the tests instead of passwd.byname. this one should be used if the default map doesn't exist. it's the backup plan, the "we move" option, the slay πŸ’…
  • -u user β€” use the account user instead of nobody. this option should be used if the nobody account does not exist in the map you're testing with β€” that's passwd.byname or whatever you handed over with the -m option. so if nobody is ghosting you, this is how you swap them out πŸ‘»βœ¨
pro tip energy: -m and -u are the ones you reach for when the defaults aren't there. -d and -h might 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:


πŸ’œ 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