This is the mail archive of the
mailing list for the Cygwin project.
Re: ssh-host-config fails on Win7 even as admin
- From: Gerrit Haase <gerrit dot haase at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 7 Oct 2016 10:21:18 +0200
- Subject: Re: ssh-host-config fails on Win7 even as admin
- Authentication-results: sourceware.org; auth=none
- References: <firstname.lastname@example.org>
2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
> I am running ssh-host-config on CYGWIN_NT-6.1 2.6.0(0.304/5/3) 2016-08-31
> under Windows 7 Enterprise Service Pack 1 in a Cygwin64 Terminal as
> It breaks with:
> *** 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 and ACLS:
> *** Warning: drwxrwxrwt+ 1 bprager Domain Users 0 Oct 6 16:44 /var/run
> *** Warning: # file: /var/run
> *** Warning: # owner: bprager
> *** Warning: # group: Domain Users
> *** Warning: # flags: --t
> *** Warning: user::rwx
> *** Warning: group::rwx
> *** Warning: group:SYSTEM:rwx
> *** Warning: group:Administrators:rwx
> *** Warning: mask:rwx
> *** Warning: other:rwx
> *** Warning: default:user::rwx
> *** Warning: default:group::r-x
> *** Warning: default:other:r-x
> *** Warning:
> *** Warning: Please change the user and/or group ownership,
> *** Warning: permissions, or ACLs of /var/run.
> *** ERROR: Problem with /var/run directory. Exiting.
> Based on that report, I do not see any problems.
> Any advice or help would be appreciated.
The user under which this script is running (bprager) is also member
of the local Administrators group?
Is the openssh version current?
Running ssh-host-config looks like different for me (openssh-7.2p2-1):
*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple