The install of anl-passwd is rather simple if all the pre-reqs are in place.

There really are really only 2 things that anlpasswd needs to run.
   A working C complier
   Perl with the Crypt::Cracklib module installed.
Of coarse getting the module installed means that you have perl
and cracklib installed, so it may not be a simple process.

Install process for the pre-reqs is:
1. Install a reasonably recent version of Perl.  5.6.0 is out.  It does
work with older versions, but use something 5.4 or higher.  Details on
how to install this are left to you.  Perl does come pre-installed on
a number of machines now.  

2. Install cracklib.
     This is available as a linux rpm, or you could use the
     included cracklib25_small.tar.gz source file.
     Unpack this archive, and then follow the instructions in the README
     file.  (Basicly modify Makefile, then make)

2.a (optional) Install a bigger/better word dictionary to use.
     ftp.mcs.anl.gov::/pub/systems/crackdict.tar may work for you.
     You can/should also create you own.  A set of dictionaries can be found
     at ftp.mcs.anl.gov::/pub/systems/DICTIONARY/

3. Install the PERL Module Crypt::Cracklib
     If you installed perl properly, this should be a very simple proceedure
     using the CPAN module install process.  Sources for this are included
     in the Crypt-Cracklib-0.01.tar.gz file.  These can be installed seperate
     from the installation, but it is not recommended.

Now, on to the actual install of the program,

1. build the ypstuff binary.  
   cd c-routines
   edit the makefile for your system type
   make
   install this binary someplace reasonable on your system.
2. modify the anlpasswd perl program
     The @legal_shells should be set to what you support.

     $dict = "/usr/local/etc/dict";
        This should point to your cracklib dictionay per #2 above.

     $ypstuffdir = "/usr/local/adm/bin";
         This should be the directory in which you installed ypstuff.

3. Test the anlpasswd program to see that it works as expected.
      ypcat passwd | grep <your login>
      ./anlpasswd
      ypcat passwd | grep <your login>  # again to see that it worked.


    MCS Systems Group
    Mathematics & Computer Science Division
    Argonne National Laboratory
    Argonne, Illinois
    Email:  systems@mcs.anl.gov
    
