Password Construction

Could someone please help, I am new to unix and I am trying to do the following:

o Each password must have at least eight characters.
Only the first eight characters are significant.
PASSLENGTH is found in /etc/default/passwd and is set
to 6.

      o  Each password must contain at least  two  alphabetic
        characters  and at least one numeric or special char-
        acter.  In this  case,  "alphabetic"  refers  to  all
        upper or lower case letters.

      o  Each password must differ from the user's login name
        and any reverse or circular shift of that login name.
        For comparison purposes, an upper case letter and its
        corresponding lower case letter are equivalent.

      o  New passwords must differ from the old by  at  least
        three  characters.  For comparison purposes, an upper
        case letter and its corresponding lower  case  letter
        are equivalent.

How do I go about this, I am able to add the users, and manouver my way around. :rolleyes:

checkout the /etc/default/passwd (Solaris 10)