* [SSHD/mkgroup] sshd can't determine user-group relation when AllowGroups is used
@ 2011-06-06 18:49 Andrey Repin
0 siblings, 0 replies; only message in thread
From: Andrey Repin @ 2011-06-06 18:49 UTC (permalink / raw)
To: All
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@freemail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-06 18:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-06 18:49 [SSHD/mkgroup] sshd can't determine user-group relation when AllowGroups is used Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).