X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authenticated: #33563777 From: "Martin" To: Subject: Re: HowTo setup cygwin + sshd using hosts.allow and hosts.deny and use detailed logging Date: Sat, 2 Feb 2008 18:31:49 +0100 Message-ID: <000001c865c1$8012d330$ac399905@a3500> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-Y-GMX-Trusted: 0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello Rene! Solved! Thanks again for your input. Without you it would not be possible to solve my problem. The Solution for running denyhosts under Cygwin as a Service including your wonderful cmd: cygrunsrv -I DenyHosts -p /usr/share/denyhosts/daemon-control -a start -d DenyHosts -f "DenyHosts 2.6" -y sshd -x /var/run/denyhosts.pid -o To set the owner to SYSTEM:Administrators for the denyhosts directory Like this: In the dir /usr/share chown -R SYSTEM:Administrators denyhosts This is needed because if you run the service denyhosts under the SYSTEM Account it will start as the User SYSTEM but this user is not allowed to run denyhosts I found out this by poking around with User rights and User owner. A good trick is to install it in the rc.local, install init as System service and then redirect the output to a file. By magic the file has also the owner SYSTEM:Administrators Thanks again for being patient with me. Regards Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/