Bugzilla – Attachment 546 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 make setcred call for !use_privsep (non-interactive path).
openssh-setcred.patch (text/plain), 514 bytes, created by
Darren Tucker
on 2004-02-13 13:34:50 AEDT
(
hide
)
Description:
Only make setcred call for !use_privsep (non-interactive path).
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-02-13 13:34:50 AEDT
Size:
514 bytes
patch
obsolete
>Index: session.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/session.c,v >retrieving revision 1.274 >diff -u -p -r1.274 session.c >--- session.c 10 Feb 2004 02:23:29 -0000 1.274 >+++ session.c 13 Feb 2004 00:40:07 -0000 >@@ -398,7 +398,7 @@ do_exec_no_pty(Session *s, const char *c > session_proctitle(s); > > #if defined(USE_PAM) >- if (options.use_pam) >+ if (options.use_pam && use_privsep) > do_pam_setcred(1); > #endif /* USE_PAM */ >
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
Actions:
View
|
Diff
Attachments on
bug 789
:
530
|
537
|
546
|
547