makedbm(8)

makedbm8

Create a yp database

Usage

makedbm [-blsUu] [-d yp_domain_name] [-i yp_input_file] [-m yp_master_name] [-o yp_output_file] infile outfile

Overview

makedbm is the utility in YP that creates the database file containing the YP map. The database format is a slightly modified version of ndbm.

The options are as follows:

-b

Interdomain. Include an entry in the database informing a YP server to use DNS to get information about unknown hosts. This option will only have effect on the two maps hosts.byname and hosts.byaddr.

-d yp_domain_name

Include an entry in the map with the key YP_DOMAIN_NAME and the argument as value.

-i yp_input_file

Include an entry in the map with the key YP_INPUT_FILE and the argument as value.

-l

Lowercase. Convert all keys to lower case before adding them to the YP database.

-m yp_master_name

Include an entry in the map with the key YP_MASTER_NAME and the argument as value.

-o yp_output_file

Include an entry in the map with the key YP_OUTPUT_FILE and the argument as value.

-s

Secure map. Include an entry in the database informing ypxfr(8) and ypserv(8) that the YP map is going to be handled as secure.

-U

Same as -u but also try the hash(3) format.

-u

Dump a database to standard output.

Releases

61 releases since OpenBSD 2.1; the text changed 13 times.

  1. 2.1
  2. 2.2–2.4
  3. 2.5
  4. 2.6
  5. 2.7–2.8
  6. 2.9
  7. 3.0–3.2
  8. 3.3
  9. 3.4–4.0
  10. 4.1
  11. 4.2–4.4
  12. 4.5–5.3
  13. 5.4–5.8
  14. 5.9–8.0

-U since OpenBSD 2.2; -u since OpenBSD 2.2.

Authors

Mats O Jansson ⟨[email protected]⟩

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.