summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-02-27 10:48:01 +1100
committerDamien Miller <djm@mindrot.org>2001-02-27 10:48:01 +1100
commit7bd1c6262b059064ce71e39a883c8f0de8a25139 (patch)
treefd0ffb0f5581515178390f067f34c049b0b53d7a /session.c
parenta66eca47ee454de6c18a0fe8af7d5f562c00c99d (diff)
- (djm) Fix PAM fix
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index d4053b4c9..be0cdf795 100644
--- a/session.c
+++ b/session.c
@@ -1036,7 +1036,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
1036 1036
1037#if defined(USE_PAM) && !defined(PAM_SUN_CODEBASE) 1037#if defined(USE_PAM) && !defined(PAM_SUN_CODEBASE)
1038 /* Solaris-derived PAMs don't like doing this after the fork() */ 1038 /* Solaris-derived PAMs don't like doing this after the fork() */
1039 do_pam_session(pw->pw_name, s->tty); 1039 do_pam_session(pw->pw_name, ttyname);
1040 do_pam_setcred(); 1040 do_pam_setcred();
1041#endif 1041#endif
1042 1042