From 85ecbe767e6cdcf04ac2d1784e54212533d88ae9 Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Fri, 20 Apr 2001 17:43:47 +0000 Subject: - (stevesk) set the default PAM service name to __progname instead of the hard-coded value "sshd"; from Mark D. Roth --- auth-pam.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'auth-pam.c') diff --git a/auth-pam.c b/auth-pam.c index d8eefdfd..8113a2fc 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -33,7 +33,9 @@ #include "canohost.h" #include "readpass.h" -RCSID("$Id: auth-pam.c,v 1.34 2001/03/27 06:12:24 djm Exp $"); +extern char *__progname; + +RCSID("$Id: auth-pam.c,v 1.35 2001/04/20 17:43:47 stevesk Exp $"); #define NEW_AUTHTOK_MSG \ "Warning: Your password has expired, please change it now" -- cgit v1.2.3