delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/23/13:48:04

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: ssh-host-config script fails
Date: Wed, 23 Jul 2008 13:47:24 -0400
Message-ID: <2B02F35EEE21064E9EF7F377F7F37D740294964D@ADMAIL01.ICSDMN.local>
In-Reply-To: <20080723163450.GY5251@calimero.vinschen.de>
References: <2B02F35EEE21064E9EF7F377F7F37D7402949615 AT ADMAIL01 DOT ICSDMN DOT local> <20080723163450 DOT GY5251 AT calimero DOT vinschen DOT de>
From: "Matt Kemmerer" <KemmererM AT Washnet DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m6NHm23T002713

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Corinna Vinschen
Sent: Wednesday, July 23, 2008 12:35 PM
To: cygwin AT cygwin DOT com
Subject: Re: ssh-host-config script fails

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.


What version of csih should I look for with the fix? All the versions I
see on the mirror were modified on 7/19.

Also using FAT32 isn't really a choice. Someday I hope to leave it
behind but I'll have to make do in the meantime :)

--
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