delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_RW,TW_WX,TW_YG |
X-Spam-Check-By: | sourceware.org |
X-ASG-Debug-ID: | 1314375430-0454fc653ddcfc0003-w5GHUG |
X-Barracuda-Envelope-From: | dpatten AT infoblox DOT com |
X-Barracuda-Apparent-Source-IP: | 128.242.99.248 |
From: | Drew Patten <dpatten AT infoblox DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | cygwin/vmware_template/ssh verison issue with 1.126 |
X-ASG-Orig-Subj: | cygwin/vmware_template/ssh verison issue with 1.126 |
Date: | Fri, 26 Aug 2011 16:14:50 +0000 |
Message-ID: | <0087189622C8E440B0568619CF342A0B29AA16@x2008mb2.infoblox.com> |
MIME-Version: | 1.0 |
X-Barracuda-Connect: | x2008hub1.infoblox.com[128.242.99.248] |
X-Barracuda-Start-Time: | 1314375434 |
X-Barracuda-URL: | http://205.234.19.209:8000/cgi-mod/mark.cgi |
X-Barracuda-Spam-Score: | 0.00 |
X-Barracuda-Spam-Status: | No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= |
X-Barracuda-Spam-Report: | Code version 3.2, rules version 3.2.2.72897 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- |
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 |
Note-from-DJ: | This may be spam |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id p7QGHjPC030965 |
I have a 2003 template with a working Cygwin sshd install. I deploy vms via script from that template and when they are brought online the Cygwin prompt is now '#' instead of a '$' and I cannot start sshd. Both Cygwin sshd service are configured with the cyg_server account to start them. And as far as I can tell the only difference is one machine was deployed via script from the working template and I don't know why the permissions are changing for Cygwin when deploying these servers. For all intensive purposed the permissions are identical. From working 2003 machine (one I provision templates from): frtest AT w2k3r2s32 ~ $ cygcheck -V cygcheck version 1.126 System Checker for Cygwin Copyright (C) 1998 - 2008 Red Hat, Inc. Compiled on Mar 28 2011 frtest AT w2k3r2s32 ~ $ ls -ld /var/empty/ drwxr-xr-x+ 1 cyg_server root 0 Mar 9 14:39 /var/empty/ frtest AT w2k3r2s32 ~ $ ls -ld /etc/ssh* -rw-r--r-- 1 cyg_server None 1555 Mar 9 14:39 /etc/ssh_config -rw------- 1 cyg_server None 668 Mar 9 14:39 /etc/ssh_host_dsa_key -rw-r--r-- 1 cyg_server None 613 Mar 9 14:39 /etc/ssh_host_dsa_key.pub -rw------- 1 cyg_server None 988 Mar 9 14:39 /etc/ssh_host_key -rw-r--r-- 1 cyg_server None 653 Mar 9 14:39 /etc/ssh_host_key.pub -rw------- 1 cyg_server None 1675 Mar 9 14:39 /etc/ssh_host_rsa_key -rw-r--r-- 1 cyg_server None 405 Mar 9 14:39 /etc/ssh_host_rsa_key.pub -rw-r--r-- 1 cyg_server None 3153 Mar 9 14:39 /etc/sshd_config frtest AT w2k3r2s32 ~ $ ls -ld /var/log/sshd.log -rw-rw-r-- 1 Administrator None 0 Mar 9 14:41 /var/log/sshd.log frtest AT w2k3r2s32 ~ $ net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. And from a non-working machine deployed from that template: frtest AT w3r232-77 ~ # cygcheck -V cygcheck version 1.126 System Checker for Cygwin Copyright (C) 1998 - 2008 Red Hat, Inc. Compiled on Mar 28 2011 frtest AT w3r232-77 ~ # ls -ld /var/empty drwxr-xr-x+ 1 cyg_server root 0 Mar 9 14:39 /var/empty frtest AT w3r232-77 ~ # ls -ld /etc/ssh* -rw-r--r-- 1 cyg_server None 1555 Mar 9 14:39 /etc/ssh_config -rw------- 1 cyg_server None 668 Mar 9 14:39 /etc/ssh_host_dsa_key -rw-r--r-- 1 cyg_server None 613 Mar 9 14:39 /etc/ssh_host_dsa_key.pub -rw------- 1 cyg_server None 988 Mar 9 14:39 /etc/ssh_host_key -rw-r--r-- 1 cyg_server None 653 Mar 9 14:39 /etc/ssh_host_key.pub -rw------- 1 cyg_server None 1675 Mar 9 14:39 /etc/ssh_host_rsa_key -rw-r--r-- 1 cyg_server None 405 Mar 9 14:39 /etc/ssh_host_rsa_key.pub -rw-r--r-- 1 cyg_server None 3153 Mar 9 14:39 /etc/sshd_config frtest AT w3r232-77 ~ # ls -ld /var/log/sshd.log -rw-rw-r-- 1 Administrator None 67 Aug 25 07:26 /var/log/sshd.log frtest AT w3r232-77 ~ # net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. frtest AT w3r232-77 ~ # cat /var/log/sshd.log /var/empty must be owned by root and not group or world-writable. /var/empty must be owned by root and not group or world-writable. -- 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 |