Bugzilla – Attachment 2742 Details for
Bug 2425
sshd doesn't need to call setproject() when configured to use PAM on Solaris
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check PAM at runtime before setting Solaris project
ssh-solaris-project-pam.patch (text/plain), 576 bytes, created by
Darren Tucker
on 2015-10-29 12:43:20 AEDT
(
hide
)
Description:
Check PAM at runtime before setting Solaris project
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2015-10-29 12:43:20 AEDT
Size:
576 bytes
patch
obsolete
>diff --git a/platform.c b/platform.c >index ee313da..1f68df3 100644 >--- a/platform.c >+++ b/platform.c >@@ -107,8 +107,12 @@ platform_setusercontext(struct passwd *pw) > #endif > > #ifdef USE_SOLARIS_PROJECTS >- /* if solaris projects were detected, set the default now */ >- if (getuid() == 0 || geteuid() == 0) >+ /* >+ * If solaris projects were detected, set the default now, unless >+ * we are using PAM in which case it is the responsibility of the >+ * PAM stack. >+ */ >+ if (!options.use_pam && (getuid() == 0 || geteuid() == 0)) > solaris_set_default_project(pw); > #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
Actions:
View
|
Diff
Attachments on
bug 2425
:
2661
| 2742