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 fails on Win7 even as admin


2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
> All,
>
> 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
> Adminstrator:
>
> 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.

Hallo Bernd,

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

Gerrit

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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