diff options
author | Damien Miller <djm@mindrot.org> | 2001-09-18 14:03:03 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-09-18 14:03:03 +1000 |
commit | ffbe69890dd16bb0dce24e401163cec731034e39 (patch) | |
tree | 3fe808165f70c334fecdfbde99764d68c970e184 /sshd.c | |
parent | 85de580adcec0a5089ddddeda5cbbb519db35e50 (diff) |
- (djm) Revert setgroups call, it causes problems on OS-X
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -782,10 +782,6 @@ main(int ac, char **av) | |||
782 | log_stderr = 1; | 782 | log_stderr = 1; |
783 | log_init(__progname, options.log_level, options.log_facility, log_stderr); | 783 | log_init(__progname, options.log_level, options.log_facility, log_stderr); |
784 | 784 | ||
785 | /* Make supp. groups don't get propogated to PAM modules */ | ||
786 | if (setgroups(0, NULL) < 0) | ||
787 | fatal("setgroups() failed: %.200s", strerror(errno)); | ||
788 | |||
789 | /* | 785 | /* |
790 | * If not in debugging mode, and not started from inetd, disconnect | 786 | * If not in debugging mode, and not started from inetd, disconnect |
791 | * from the controlling terminal, and fork. The original process | 787 | * from the controlling terminal, and fork. The original process |