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
YPXFR(8) BSD System Manager's Manual YPXFR(8)NAME
ypxfr -- get a YP map from YP server
SYNOPSIS
ypxfr [-bcf] [-d domain] [-h host] [-s domain] [-C tid prog ipadd port] mapname
DESCRIPTION
ypxfr is the utiliy in YP that transfers maps to the local host.
Since the YP master transfers a map when it has changed, an YP slave should check for missed maps regulary. This can be done via an entry in
crontab(5). The scripts ypxfr_1perhour, ypxfr_2perday and ypxfr_1perday could be used for that.
The options are as follows:
-b Preserve the 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.
-c Don't send a "Clear current map" to local ypserv process. Useful if ypserv isn't running localy to avoid timeout message.
-f Force map transfer, even if version of master is older than local copy.
-d domain
Don't use default domain, use the specifiyed domain.
-h host
Get map from host insteed of the maps master host.
-s domain
Specify a source domain other than the target domain.
-C tid prog ipadd port
This option is only used by ypserv. This is to open communication with an yppush on another host.
FILES
/usr/sbin/ypxfr_1perhour
/usr/sbin/ypxfr_2perday
/usr/sbin/ypxfr_1perday
SEE ALSO yp(8), yppush(8), ypserv(8)AUTHOR
Mats O Jansson <moj@stacken.kth.se>
BSD August 18, 1994 BSD
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)
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)