MAKEDBM(8)
πΈ MAKEDBM(8) β makedbm π
okay bestie, so makedbm is a real one from the NIS Reference Manual and it's about to be your new fave. Here's the tea: it creates or dumps a ypserv database file. Let's get into it π¦
β¨ NAME β¨
makedbm β create or dump a ypserv database file π
π SYNOPSIS π
/usr/lib/yp/makedbm [-a | -r] [-b] [-c] [-s] [-l] [-i YP_INPUT_NAME]
[-o YP_OUTPUT_NAME] [-m YP_MASTER_NAME] inputfile
dbname
/usr/lib/yp/makedbm -u dbname
/usr/lib/yp/makedbm -c
/usr/lib/yp/makedbm --version
π DESCRIPTION π
So makedbm takes the inputfile and converts it into a ypserv database file. Currently? GDBM is what's being used as the database. iconic of it π
Every single line of the input file gets converted into one single record. All characters up to the first TAB or SPACE are the key, and the rest of the line is the data.
β οΈ heads up bestie:makedbmdoes not treat#as a special character. like, at all. it's just a normal little guy to it π
π OPTIONS π
-aβ special support for mail aliases. The way we couldn't use sendmail for this π sendmail uses db, but ypserv uses gdbm as the database format.-bβ inserts theYP_INTERDOMAINinto the output. This key makesypserv(8)use DNS for host name and address lookups for hosts that aren't found in the maps. DNS fallback slay β¨-cβ sends aYPPROC_CLEARto the localypserv(8). This makes ypserv invalidate all cached entries. clean slate energy π§Ή-lβ converts the keys of the given map to lower case.-i YP_INPUT_NAMEβ creates a special entry with the keyYP_INPUT_NAME.-m YP_MASTER_NAMEβ creates a special entry with the keyYP_MASTER_NAME. And if no master host name is specified?YP_MASTER_NAMEgets set to the local host name. defaults, we love them π-o YP_OUTPUT_NAMEβ creates a special entry with the keyYP_OUTPUT_NAME.-rβ handles#as a comment sign and removes the comment. so THIS is where#gets treated specially, not in the default behavior, iykyk π-sβ secure map. Accepts connections from secure NIS networks only (that means reserved ports). keeping it locked down π-u dbnameβ dumps a ypserv database file. Prints out the file in text format, one entry per line, with a single space separating keys from values. peek behind the curtain π«Ά--no-limit-checkβ don't check for the NIS key and data limit. living dangerously, no cap π
π₯ SEE ALSO π₯
ypserv(8)β go read it bestie, they're a package deal π
β AUTHOR β
makedbm was written by Thorsten Kukuk <kukuk@linux-nis.org>. legend behavior fr fr π
okay that's the whole page!! this one's from the NIS Reference Manual, dated 12/31/2020, and the manual page name is MAKEDBM(8) β and that's a wrap, mwah ππβ¨
π¦ where this page comes from
- debian bookworm: ypserv 4.2-1+b2 Β· GPL-2.0-only
- debian trixie: ypserv 4.2-2+b2 Β· GPL-2.0-only
- ubuntu jammy: ypserv 4.1-2 Β· GPL-2.0-only
- ubuntu noble: ypserv 4.2-2build2 Β· GPL-2.0-only
- ubuntu questing: ypserv 4.2-2build2
- ubuntu resolute: ypserv 4.2-3 Β· GPL-2.0-only
- ubuntu stonking: ypserv 4.2-3build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms