summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--session.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 28693f591..55075c806 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,7 @@
34 but it all damned lies. 34 but it all damned lies.
35 - (stevesk) [README.privsep] more for sshd pseudo-account. 35 - (stevesk) [README.privsep] more for sshd pseudo-account.
36 - (tim) [contrib/caldera/openssh.spec] add support for privsep 36 - (tim) [contrib/caldera/openssh.spec] add support for privsep
37 - (djm) setlogin needs pgid==pid on BSD/OS; from itojun@
37 38
3820020625 3920020625
39 - (stevesk) [INSTALL acconfig.h configure.ac defines.h] remove --with-rsh 40 - (stevesk) [INSTALL acconfig.h configure.ac defines.h] remove --with-rsh
@@ -1133,4 +1134,4 @@
1133 - (stevesk) entropy.c: typo in debug message 1134 - (stevesk) entropy.c: typo in debug message
1134 - (djm) ssh-keygen -i needs seeded RNG; report from markus@ 1135 - (djm) ssh-keygen -i needs seeded RNG; report from markus@
1135 1136
1136$Id: ChangeLog,v 1.2288 2002/06/26 02:28:55 tim Exp $ 1137$Id: ChangeLog,v 1.2289 2002/06/26 09:12:59 djm Exp $
diff --git a/session.c b/session.c
index 4bdf28d45..aadc82fef 100644
--- a/session.c
+++ b/session.c
@@ -1163,6 +1163,9 @@ do_setusercontext(struct passwd *pw)
1163 setpcred(pw->pw_name); 1163 setpcred(pw->pw_name);
1164#endif /* HAVE_SETPCRED */ 1164#endif /* HAVE_SETPCRED */
1165#ifdef HAVE_LOGIN_CAP 1165#ifdef HAVE_LOGIN_CAP
1166#ifdef __bsdi__
1167 setpgid(0, 0);
1168#endif
1166 if (setusercontext(lc, pw, pw->pw_uid, 1169 if (setusercontext(lc, pw, pw->pw_uid,
1167 (LOGIN_SETALL & ~LOGIN_SETPATH)) < 0) { 1170 (LOGIN_SETALL & ~LOGIN_SETPATH)) < 0) {
1168 perror("unable to set user context"); 1171 perror("unable to set user context");