View | Details | Raw Unified | Return to bug 789 | Differences between
and this patch

Collapse All | Expand All

(-)session.c (-1 / +2 lines)
Lines 519-525 do_exec_pty(Session *s, const char *comm Link Here
519
#if defined(USE_PAM)
519
#if defined(USE_PAM)
520
	if (options.use_pam) {
520
	if (options.use_pam) {
521
		do_pam_set_tty(s->tty);
521
		do_pam_set_tty(s->tty);
522
		do_pam_setcred(1);
522
		if (!use_privsep)
523
			do_pam_setcred(1);
523
	}
524
	}
524
#endif
525
#endif
525
526

Return to bug 789