UNIX_CHKPWD   (8) manpage
UNIX_CHKPWD
8
2003-03-21
Linux-PAM 0.76
Linux-PAM Manual
  • NAME
      unix_chkpwd - helper binary that verifies the password of the current user
  • SYNOPSIS

      /sbin/unix_chkpwd [username]

  • DESCRIPTION


      unix_chkpwd is a helper program for the pam_unix module that verifies the password of the current user.  It is not intended to be run directly from the command line and logs a security violation if done so.
      It is typically installed setuid root or setgid shadow.
  • OPTIONS


      unix_pwdchk optionally takes the following argument:
      username
      The username of the user whose password you want to check: this must match the current user id.
  • INPUTS


      unix_pwdchk expects the following inputs via stdin:
      option
      Either nullok or nonull, depending on whether the user can have an empty password.
      password
      The password to verify.
  • RETURN CODES


      unix_chkpwd has the following return codes:
      1
      unix_chkpwd was inappropriately called from the command line or the password is incorrect.
      0
      The password is correct.
  • HISTORY
      Written by Andrew Morgan
  • SEE ALSO
  • AUTHOR
      Emily Ratliff.
Current Users: 28 © 1999-2006 Linux.com.hk PenguinSoft
All trademarks and copyrights on this page are owned by their respective companies. Linux is a trademark of Linus Torvalds.