Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

makedbm(8) [suse man page]

MAKEDBM(8)						       NIS Reference Manual							MAKEDBM(8)

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
makedbm takes the inputfile and converts it to a ypserv database file. In the moment, GDBM is used as database. Each line of the input file is converted to a single record. All characters up to the first TAB or SPACE are the key, and the rest of the line is the data. makedbm does not treat `#' as a special character. OPTIONS
-a Special support for mail aliases. We couldn't use sendmail for it, since sendmail uses db, but ypserv gdbm as database format. -b Insert the YP_INTERDOMAIN into the output. This key causes ypserv(8) to use DNS for host name and address lookups for hosts not found in the maps. -c send a YPPROC_CLEAR to the local ypserv(8). This causes ypserv to invalidate all cached entries. -l Convert the keys of the given map to lower case. -i YP_INPUT_NAME Create a special entry with the key YP_INPUT_NAME. -m YP_MASTER_NAME Create a special entry with the key YP_MASTER_NAME. If no master host name is specified, YP_MASTER_NAME will be set to the local host name. -o YP_OUTPUT_NAME Create a special entry with the key YP_OUTPUT_NAME. -r Handle `#' as comment sign and remove the comment. -s Secure map. Accept connections from secure NIS networks only (reserved ports). -u dbname Dump a ypserv database file. Prints out the file in text format, one entry per line, with a single space separating keys from values. --no-limit-check Don't check for NIS key and data limit. SEE ALSO
ypserv(8) AUTHOR
makedbm was written by Thorsten Kukuk <kukuk@linux-nis.org>. NIS Reference Manual 09/26/2007 MAKEDBM(8)

Check Out this Related Man Page

MAKEDBM(8)						    BSD System Manager's Manual 						MAKEDBM(8)

NAME
makedbm -- create a NIS database SYNOPSIS
makedbm -u dbfile makedbm [-bls] [-d yp_domain_name] [-i yp_input_file] [-m yp_master_name] [-o yp_output_file] infile outfile DESCRIPTION
makedbm is the utility in NIS that creates the db(3) database file containing the NIS map. infile is the pathname of the source file (where ``-'' is standard input). Each line consists of the key and the value, with a space sepa- rating the items. Blank lines are ignored, and a ``#'' is a comment character and indicates that the rest of the line should be ignored. outfile is the pathname of the generated database. The options are as follows: -b Interdomain. Include an entry in the database informing a NIS server to use DNS to get information about unknown hosts. This option will only have effect on the maps hosts.byname and hosts.byaddr. -l Lowercase. Convert all keys to lower case before adding them to the NIS database. -s Secure map. Include an entry in the database informing ypxfr(8) and ypserv(8) that the NIS map is going to be handled as secure (i.e., not served to clients that don't connect from a reserved port). -d yp_domain_name Include an entry in the map with 'YP_DOMAIN_NAME' as the key and yp_domain_name as the value. -i yp_input_file Include an entry in the map with 'YP_INPUT_FILE' as the key and yp_input_file as the value. -m yp_master_name Include an entry in the map with 'YP_MASTER_NAME' as the key and yp_master_name as the value. -o yp_output_file Include an entry in the map with 'YP_OUTPUT_FILE' as the key and yp_output_file as the value. -u dbfile Dump the contents of dbfile to standard output, in a format suitable to be passed back into makedbm. dbfile is the pathname to the database. SEE ALSO
db(3), nis(8), ypserv(8), ypxfr(8) AUTHORS
Mats O Jansson <moj@stacken.kth.se> BSD
February 26, 2005 BSD
Man Page