delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/23/12:35:12

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 <corinna-cygwin AT cygwin DOT com>
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
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019