summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-09-18 14:03:03 +1000
committerDamien Miller <djm@mindrot.org>2001-09-18 14:03:03 +1000
commitffbe69890dd16bb0dce24e401163cec731034e39 (patch)
tree3fe808165f70c334fecdfbde99764d68c970e184
parent85de580adcec0a5089ddddeda5cbbb519db35e50 (diff)
downloadopenssh-git-ffbe69890dd16bb0dce24e401163cec731034e39.tar.gz
- (djm) Revert setgroups call, it causes problems on OS-X
-rw-r--r--ChangeLog3
-rw-r--r--sshd.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 4db153d7..14bf5063 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
20010918
- (djm) Configure support for smartcards
+ - (djm) Revert setgroups call, it causes problems on OS-X
20010917
- (djm) x11-ssh-askpass-1.2.4 in RPM spec, revert workarounds
@@ -6460,4 +6461,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1525 2001/09/18 04:01:11 djm Exp $
+$Id: ChangeLog,v 1.1526 2001/09/18 04:03:03 djm Exp $
diff --git a/sshd.c b/sshd.c
index ce13dcaf..aa822df1 100644
--- a/sshd.c
+++ b/sshd.c
@@ -782,10 +782,6 @@ main(int ac, char **av)
log_stderr = 1;
log_init(__progname, options.log_level, options.log_facility, log_stderr);
- /* Make supp. groups don't get propogated to PAM modules */
- if (setgroups(0, NULL) < 0)
- fatal("setgroups() failed: %.200s", strerror(errno));
-
/*
* If not in debugging mode, and not started from inetd, disconnect
* from the controlling terminal, and fork. The original process