mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02:00
- (djm) setlogin needs pgid==pid on BSD/OS; from itojun@
This commit is contained in:
parent
6de3dfd929
commit
f18cd162d3
@ -34,6 +34,7 @@
|
||||
but it all damned lies.
|
||||
- (stevesk) [README.privsep] more for sshd pseudo-account.
|
||||
- (tim) [contrib/caldera/openssh.spec] add support for privsep
|
||||
- (djm) setlogin needs pgid==pid on BSD/OS; from itojun@
|
||||
|
||||
20020625
|
||||
- (stevesk) [INSTALL acconfig.h configure.ac defines.h] remove --with-rsh
|
||||
@ -1133,4 +1134,4 @@
|
||||
- (stevesk) entropy.c: typo in debug message
|
||||
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
|
||||
|
||||
$Id: ChangeLog,v 1.2288 2002/06/26 02:28:55 tim Exp $
|
||||
$Id: ChangeLog,v 1.2289 2002/06/26 09:12:59 djm Exp $
|
||||
|
@ -1163,6 +1163,9 @@ do_setusercontext(struct passwd *pw)
|
||||
setpcred(pw->pw_name);
|
||||
#endif /* HAVE_SETPCRED */
|
||||
#ifdef HAVE_LOGIN_CAP
|
||||
#ifdef __bsdi__
|
||||
setpgid(0, 0);
|
||||
#endif
|
||||
if (setusercontext(lc, pw, pw->pw_uid,
|
||||
(LOGIN_SETALL & ~LOGIN_SETPATH)) < 0) {
|
||||
perror("unable to set user context");
|
||||
|
Loading…
x
Reference in New Issue
Block a user