summaryrefslogtreecommitdiffstats
path: root/usr.bin/su
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-03-06 12:46:56 +0000
committerdes <des@FreeBSD.org>2002-03-06 12:46:56 +0000
commit912fe80624cc18bb86d19858505e6aaf1f215cc0 (patch)
treebca72341b4434b70fe49105447df3b48ecb6c12e /usr.bin/su
parent62ffd8f69eb9938ada5ec5c0bb7abf72196882af (diff)
downloadFreeBSD-src-912fe80624cc18bb86d19858505e6aaf1f215cc0.zip
FreeBSD-src-912fe80624cc18bb86d19858505e6aaf1f215cc0.tar.gz
Belatedly OpenPAMify. I forgot this patch in last night's megacommit.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'usr.bin/su')
-rw-r--r--usr.bin/su/su.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 108d574..34f8ecf 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -65,7 +65,7 @@ static const char rcsid[] =
#include <unistd.h>
#include <security/pam_appl.h>
-#include <security/pam_misc.h>
+#include <security/openpam.h>
#define PAM_END() do { \
int local_ret; \
@@ -111,7 +111,7 @@ int
main(int argc, char *argv[])
{
struct passwd *pwd;
- struct pam_conv conv = {misc_conv, NULL};
+ struct pam_conv conv = { openpam_ttyconv, NULL };
enum tristate iscsh;
login_cap_t *lc;
union {
OpenPOWER on IntegriCloud