RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
Forgot to add that you need to do this after making those changes: Clean up the mess ssh-host-config previously created: cygrunsrv --stop sshd cygrunsrv --remove sshd net user sshd /delete net user cyg_server /delete edit /etc/passwd and /etc/group to remove cyg_server and sshd rm -rf /etc/ssh*

RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
I had the same issue. It seems to be related to what /usr/bin/getent returns for the group name so that you end up trying to add to the group root rather than Administrators. I had to hack /usr/share/csih/cygwin-service-installation-helper.sh in a couple of places to finally make it work for me:

Re: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
cd /usr/share/csih Edit the cygwin-service-installation-helper.sh and change these two lines starting at line 2969: The use of the -w argument in getent and parsing the modified output fixed the root vs Administrators issue. There was still one more issue because the new users were not in the

RE: SSHd configuration problems (System error 1376) - CONFIRMED

2015-01-07 Thread craigmcd
Bruce said he could not see my edits. I'm posting from nabble and used the raw tags, so maybe that did not go through. Here they are again: $ diff -c cygwin-service-installation-helper.sh.orig cygwin-service-installation-helper.sh *** cygwin-service-installation-helper.sh.orig 2014-12-27

Re: SSHd configuration problems (System error 1376)

2014-12-27 Thread craigmcd
I had the same issue on Windows 2003 32-bit. Without the -w option, the only name returned is root, not Administrators: I had to hack /usr/share/csih/cygwin-service-installation-helper.sh in a couple of places to finally make it work. -- View this message in context: