Bugzilla – Attachment 537 Details for
Bug 789
pam_setcred() not being called as root
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Only call pam_setcred a 2nd time when privsep is off
openssh-pam-setcred-privsep.patch (text/plain), 513 bytes, created by
Darren Tucker
on 2004-01-29 21:20:04 AEDT
(
hide
)
Description:
Only call pam_setcred a 2nd time when privsep is off
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-01-29 21:20:04 AEDT
Size:
513 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/session.c,v >retrieving revision 1.271 >diff -u -p -r1.271 session.c >--- session.c 23 Jan 2004 11:03:10 -0000 1.271 >+++ session.c 30 Jan 2004 04:09:02 -0000 >@@ -519,7 +519,8 @@ do_exec_pty(Session *s, const char *comm > #if defined(USE_PAM) > if (options.use_pam) { > do_pam_set_tty(s->tty); >- do_pam_setcred(1); >+ if (!use_privsep) >+ do_pam_setcred(1); > } > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 789
:
530
| 537 |
546
|
547