View | Details | Raw Unified | Return to bug 2425
Collapse All | Expand All

(-)a/platform.c (-2 / +6 lines)
Lines 107-114 platform_setusercontext(struct passwd *pw) Link Here
107
#endif
107
#endif
108
108
109
#ifdef USE_SOLARIS_PROJECTS
109
#ifdef USE_SOLARIS_PROJECTS
110
	/* if solaris projects were detected, set the default now */
110
	/*
111
	if (getuid() == 0 || geteuid() == 0)
111
	 * If solaris projects were detected, set the default now, unless
112
	 * we are using PAM in which case it is the responsibility of the
113
	 * PAM stack.
114
	 */
115
	if (!options.use_pam && (getuid() == 0 || geteuid() == 0))
112
		solaris_set_default_project(pw);
116
		solaris_set_default_project(pw);
113
#endif
117
#endif
114
118

Return to bug 2425