Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkalias(8) [netbsd man page]

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

NAME
mkalias -- a NIS map conversion program SYNOPSIS
mkalias [-deEnsuv] input [output] DESCRIPTION
mkalias is used to convert a mail.aliases map to a mail.byaddr map. This is a inverse map of user@host (or user!host) back to alias. mkalias uses input as the input map, and if output is given, use that as the output map. If the output map isn't given don't create data- base. This can be useful when -e or -E is given. The options are as follows: -d Assume domain names are OK. Only useful together with -e or -E. -e Check host to verify that it exists. -E Same as -e, but also check for any MX-record. -n Capitalize name. E.g., mats.o.jansson becomes Mats.O.Jansson. -u Assume UUCP names are OK. Only useful together with -e or -E. -s Ignored (only provided for compatibility with SunOS 4.1.x). -v Verbose mode. SEE ALSO
nis(8), ypserv(8) AUTHORS
Mats O Jansson <moj@stacken.kth.se> BSD
February 26, 2005 BSD

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

2 More Discussions You Might Find Interesting

1. Solaris

Setting up NIS

I'm some what new to Unix and I recently have been thrown into a system administration role. I created this thread because I I wish to setup NIS in my lab and I thought this could be benificial to me and many others. I am followig the Sun System Administation Guide: Naming and Directory... (9 Replies)
Discussion started by: meyersp
9 Replies

2. Shell Programming and Scripting

Truncate filename using find

I have a script that executes the following code and I could use some help. find $searchdir -maxdepth 2 -type d -name $dir -exec mkalias {} ./$dir/_$dir$suffix \; (mkalias is an executable to create mac aliases) (The script takes a directory name finds that same name on another drive and... (5 Replies)
Discussion started by: scribling
5 Replies