This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSHd configuration problems (System error 1376)


On 12/23/2014 8:41 AM, Ilya Dogolazky wrote:
Hi Ken !

12/13/2014 02:30 PM, ext Ken Brown ÐÐÑÐÑ:

admingroup=$(/usr/bin/mkgroup -l | /usr/bin/awk -F: '{if ( $2 ==
"S-1-5-32-544" ) print $1;}')

On my system this yields "Administrators".  Apparently it yields "root"
on your system.  Any idea why?

I have the same error message as PolarStorm:
"Adding user 'cyg_server' to local group 'root' failed!"

But when I execute the mkgroup+awk (as above) command I receive "Administrators"

Even more: the output of the "mkgroup -l" command doesn't contain the string
"root" at all. So I believe the statement "group is obtained in line ..." can't
be quite true. The script finds the word "root" from somewhere, but surely not
from that mkgroup+awk command.

PS I'm trying to run sshd on a fresh installed "Windows 8.1 Enterprise N" system
with fresh installed cygwin64.

csih has been updated.  The group is now obtained as follows, in lines 2969-2970:

      admingroup=$(/usr/bin/getent group S-1-5-32-544)
      admingroup="${admingroup%%:*}"

This still yields "Administrators" on my system. I'm using the test release of cygwin in case that's relevant.

Ken

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]