- (djm) Fix PAM fix
This commit is contained in:
parent
a66eca47ee
commit
7bd1c6262b
|
@ -14,6 +14,7 @@
|
|||
- (djm) Move PAM init to after fork for non-Solaris derived PAMs
|
||||
- (djm) Warning fix on entropy.c saved uid stuff. Patch from Mark Miller
|
||||
<markm@swoon.net>
|
||||
- (djm) Fix PAM fix
|
||||
|
||||
20010226
|
||||
- (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
|
||||
|
@ -4148,4 +4149,4 @@
|
|||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.832 2001/02/26 22:47:16 djm Exp $
|
||||
$Id: ChangeLog,v 1.833 2001/02/26 23:48:01 djm Exp $
|
||||
|
|
|
@ -1036,7 +1036,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
|
|||
|
||||
#if defined(USE_PAM) && !defined(PAM_SUN_CODEBASE)
|
||||
/* Solaris-derived PAMs don't like doing this after the fork() */
|
||||
do_pam_session(pw->pw_name, s->tty);
|
||||
do_pam_session(pw->pw_name, ttyname);
|
||||
do_pam_setcred();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue