- (djm) Revert setgroups call, it causes problems on OS-X

This commit is contained in:
Damien Miller 2001-09-18 14:03:03 +10:00
parent 85de580adc
commit ffbe69890d
2 changed files with 2 additions and 5 deletions

View File

@ -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 $

4
sshd.c
View File

@ -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