User Commands                                    checkpassword(1)



NAME
     checkpassword - check passwords for guessability

SYNOPSIS
     /checkpassword [ -c file ] [ -o ] [ -u uid ] [
     -XDn ] [ -Xh ] [ -XV ]

DESCRIPTION
     Checkpassword reads passwords from the  standard  input  and
     subjects  them  to suitability tests.  It purposely does not
     take  a  password  argument  since  process  arguments   are
     displayed by ps(1).

     Checkpassword reads passwords from the  standard  input  and
     does not suppress character echo.  The standard input can be
     redirected from a pipe  or  file,  which  facilitates  being
     called by a program or script.

     Checkpassword exits with 0 if  the  password  was  suitable.
     Otherwise  a  message  is  sent  to standard output and exit
     status is 1.

OPTIONS
     -c        Take the next argument as the  configuration  file
               to  read.   Checkpassword uses the same configura-
               tion file as npasswd, ignoring directives that  do
               not  apply.   Consult  the manual page for npasswd
               for help with the configuration directives.

     -o        Test one password and exit with check status.

     -u        Take the next argument as the user (user  name  or
               numeric  uid)  to use for password checking.  This
               option is restricted to the super-user.

     -XDN      Set internal debugging level to N.

               Debug levels are:

               none      None.

               verbose   Mild verbosity.

               config    Trace configuration file processing.

               pwcheck   Trace password checking.

               detail    More detailed tracing.

               all       Enable all tracing.





SunOS 5.6                 Last change:                          1






User Commands                                    checkpassword(1)



               This option may be restricted to root.

     -Xh       Print help message.

     -XV       Print version information.

BUGS
     Checkpassword does not run with privileges, and the  npasswd
     history  database  is  protected  from general access.  This
     effectively disables the password history check.

     On Digital UNIX systems,  checkpassword  can  be  setgid  to
     group auth to access the shadow database.

     See the Npasswd Administration Guide for details.

SEE ALSO
     checkpassword(3), npasswd(1)

FILES
     /passwd.conf - configuration file
      - password check dictionaries
      - password history database
     /AdminGuide.html  -   Npasswd   Administration
     Guide

AUTHOR
     Clyde Hoover
     Academic Computing  Services  and  Instructional  Technology
     Services
     The University of Texas at Austin
     c.hoover@cc.utexas.edu
     8c9 1998, The  University  of  Texas  at  Austin.  All  rights
     reserved.





















SunOS 5.6                 Last change:                          2