X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 23 Jul 2008 18:34:50 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ssh-host-config script fails Message-ID: <20080723163450.GY5251@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <2B02F35EEE21064E9EF7F377F7F37D7402949615 AT ADMAIL01 DOT ICSDMN DOT local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2B02F35EEE21064E9EF7F377F7F37D7402949615@ADMAIL01.ICSDMN.local> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jul 23 11:25, Matt Kemmerer wrote: > I've recently installed cygwin on a Windows XP box. I followed the same > procedure I have in the past but this time I received a number of > errors. Here's what I did: > > * Downloaded setup.exe from cygwin.com > * Installed from the internet and selected emacs and OpenSSH to be > installed > * Started up a shell and typed ssh-host-config > In the past I was nearly done at this point but this time I received the > following error: > > Administrator AT ics-dp35xppro ~ > > $ ssh-host-config > > /usr/bin/ssh-host-config: line 23: > /usr/share/csih/cygwin-service-installation-helper.sh: No such file or > directory Uh, yes, I missed to add the csih dependency to setup.hint. I just did that on cygwin.com, should be at the mirrors shortly. > Administrator AT ics-dp35xppro ~ > $ ssh-host-config > *** Info: Creating default /etc/ssh_config file > *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes > *** Info: Creating default /etc/sshd_config file > *** Info: Privilege separation is set to yes by default since OpenSSH > 3.3. > *** Info: However, this requires a non-privileged account called 'sshd'. > *** Info: For more info on privilege separation read > /usr/share/doc/openssh/README.privsep. > *** Query: Should privilege separation be used? (yes/no) yes > *** Warning: The owner and the Administrators need > *** Warning: to have .w. permission to /var/run. > *** Warning: Here are the current permissions: > *** Warning: drwxr-xr-x 2 Administrator None 0 Jul 23 10:21 /var/run > *** Warning: Please change the user and/or group ownership and > *** Warning: permissions of /var/run. > *** ERROR: Problem with /var/run directory. Exiting. > > I've tried changing the permissions on /var/run but the commands chgrp > and chmod both produce no error but do not change the permissions > either. Eeek! You're using FAT32 on a NT based OS? This isn't such a good idea, actually. There's no security and no permission settings on FAT. The csih script seems to miss the fact that the directory is on a non-NTFS drive which isn't capable of setting permissions. Given that you're installing ssh, which is a paranoid secure playing package, that's actually a good idea. Ever thought of running convert.exe on your drive? ;) Nevertheless that should be changed in csih. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/