SUMMARY mkalias man page

From: Peter Samuel (Peter.Samuel@nms.otc.com.au)
Date: Wed Jul 28 1993 - 07:26:19 CDT


Original Question:
---------------------------------------------------------------------------
    Does anybody have a man page for /usr/etc/yp/mkalias? I've RTFMed,
    grepped AnswerBook and read the FAQs - all to no avail.

    mkalias does have some options:

    Usage: mkalias [-e] [-v] [-u] [-d] [-s] [-n] <input> <output>

    Using BFI I've been able to determine some of these:

        -v verbose
        -n remap names in uppercase. ie for input lines of type:
                first.last first.last@address
                create reverse alias of
                first.last@address First.Last
        -e exclude addresses outside the current domain
        -d unknown
        -s unknown
        -u unknown

    Options must be given as -v -n. -vn will not work.

    The reason I need info is because mkalias rewrites the
    YP_MASTER_NAME field using only the hostname. I need the fully
    qualified hostname; ie machine.domain.com.au not machine

    I have a workaround using makedbm but I'd still like to know what
    the other options to mkalias do.

    Does anyone have source?
---------------------------------------------------------------------------

Thanks to Jay Plett for explaining the other options to mkalias. Based
on this and some more BFI testing, I've written a man page for mkalias.
nroff source is included at the end of this posting.

According to Jay, Sun and my tests, there is no way to get mkalias to
set the YP_MASTER_NAME value to anything but the result of a
gethostname(2).

If you do need to change this value, use the workaround stated in the
man page.

I've also logged a call with Sun who have sent my request to
Engineering as a Request For Enhancement.

Thanks to those who responded:
boenning@igd.fhg.de (Dirk Boenning)
alex@nuclear.con.ufrj.br (Antonio Alexandre de Castro Soares)
jay@Princeton.EDU (Jay Plett)
cpeter@aus.sun.com (Christian Peter)

Absolutely NO thanks to two of my former friends who flippantly
reminded me of my past sins - it's your shout at the pub on Friday! :)
pauline@uniq.com.au (pAULINE VAN wINSEN)
glenn@uniq.com.au (Glenn Satchell)

Regards
Peter
----------
Peter Samuel Email: Peter.Samuel@nms.otc.com.au
Telstra - OTC Australia Phone: +61 2 339 3953 Fax: +61 2 339 3688
Computer and Network Services Snail: GPO Box 7000, Sydney 2001, Australia

---------------------------------------------------------------------------
begin 664 mkalias.8.Z
M'YV0+J@@ =%D21 F28), 8$#A @9#97489,'1(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