This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ssh-host-config script fails


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Corinna Vinschen
Sent: Wednesday, July 23, 2008 12:35 PM
To: cygwin@cygwin.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@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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]