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

Collapse All | Expand All

(-)session.c (-1 / +3 lines)
Lines 1471-1477 do_child(Session *s, const char *command Link Here
1471
		if (!check_quietlogin(s, command))
1471
		if (!check_quietlogin(s, command))
1472
			do_motd();
1472
			do_motd();
1473
#else /* HAVE_OSF_SIA */
1473
#else /* HAVE_OSF_SIA */
1474
		do_nologin(pw);
1474
		/* When PAM is enabled we rely on it to do the nologin check */
1475
		if (!options.use_pam)
1476
			do_nologin(pw);
1475
		do_setusercontext(pw);
1477
		do_setusercontext(pw);
1476
		/*
1478
		/*
1477
		 * PAM session modules in do_setusercontext may have
1479
		 * PAM session modules in do_setusercontext may have

Return to bug 1045