diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-27 10:48:01 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-27 10:48:01 +1100 |
commit | 7bd1c6262b059064ce71e39a883c8f0de8a25139 (patch) | |
tree | fd0ffb0f5581515178390f067f34c049b0b53d7a /session.c | |
parent | a66eca47ee454de6c18a0fe8af7d5f562c00c99d (diff) |
- (djm) Fix PAM fix
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||