of the hard-coded value "sshd"; from Mark D. Roth <roth@feep.net>
Split out and improve escape character documentation, mention ~R in
~? help text; ok markus@
- Update RPM spec files for CVS version.h
+ - (stevesk) set the default PAM service name to __progname instead
+ of the hard-coded value "sshd"; from Mark D. Roth <roth@feep.net>
20010420
- OpenBSD CVS Sync
#include "canohost.h"
#include "readpass.h"
+extern char *__progname;
+
RCSID("$Id$");
#define NEW_AUTHTOK_MSG \
#define SSH_SERVICE_NAME "ssh"
#if defined(USE_PAM) && !defined(SSHD_PAM_SERVICE)
-# define SSHD_PAM_SERVICE "sshd"
+# define SSHD_PAM_SERVICE __progname
#endif
/*