delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_RU_URL,KAM_THEBAT,TW_MK |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 6 Jun 2011 22:49:57 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1604576281.20110606224957@mtu-net.ru> |
To: | All <cygwin AT cygwin DOT com> |
Subject: | [SSHD/mkgroup] sshd can't determine user-group relation when AllowGroups is used |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Greetings, All! Setting up an OpenSSH server on remote system, I hit an issue with authorization. When setting SSHD to, i.e., AllowGroups RAdmin I get a response from server sshd: PID 540: User anrdaemon from 192.168.56.1 not allowed because none of user's groups are listed in AllowGroups Was digging through mkpasswd/mkgroup, but nothing hinted possible solution. Manually editing /etc/group and adding username to the respective group RAdmin:S-1-5-21-507921405-1614895754-1177238915-1005:1005:anrdaemon fixed the problem. But question remains - who should play nice here? Is it mkgroup not doing it's job, or SSHD should threat it differently? -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 06.06.2011, <22:41> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |