File unix2_chkpwd.8 of Package pam
.\" Copyright (C) 2003 International Business Machines Corporation
.\" This file is distributed according to the GNU General Public License.
.\" See the file COPYING in the top level source directory for details.
.de Sh \" Subsection
.if t .Sp
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
.de Ip \" List item
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
.TH "UNIX2_CHKPWD" 8 "2003-03-21" "Linux-PAM 0.76" "Linux-PAM Manual"
unix2_chkpwd \- helper binary that verifies the password of the current user
/sbin/unix2_chkpwd \fIservicename\fR \fIusername\fR
\fBunix2_chkpwd\fR is a helper program for applications 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 and called by
applications, which only wishes to do an user authentification and
unix2_chkpwd requires the following arguments:
The name of the service using unix2_chkpwd. This is required to be one of
the services in /etc/pam.d
The name of the user whose password you want to verify.
unix2_chkpwd expects the password via stdin.
.SH "RETURN CODES"
\fBunix2_chkpwd\fR has the following return codes:
unix2_chkpwd was inappropriately called from the command line or the password is incorrect.
The password is correct.
Written by Olaf Kirch loosely based on unix_chkpwd by Andrew Morgan
.SH "SEE ALSO"