public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ssh-host-config fails on Win7 even as admin
@ 2016-10-06 12:39 Bernd Prager
  2016-10-07  8:43 ` Gerrit Haase
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Prager @ 2016-10-06 12:39 UTC (permalink / raw)
  To: cygwin

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.
Thank you,
-- B.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ssh-host-config fails on Win7 even as admin
  2016-10-06 12:39 ssh-host-config fails on Win7 even as admin Bernd Prager
@ 2016-10-07  8:43 ` Gerrit Haase
  2016-10-07  9:53   ` Gerrit Haase
  0 siblings, 1 reply; 3+ messages in thread
From: Gerrit Haase @ 2016-10-07  8:43 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ssh-host-config fails on Win7 even as admin
  2016-10-07  8:43 ` Gerrit Haase
@ 2016-10-07  9:53   ` Gerrit Haase
  0 siblings, 0 replies; 3+ messages in thread
From: Gerrit Haase @ 2016-10-07  9:53 UTC (permalink / raw)
  To: cygwin

2016-10-07 10:21 GMT+02:00 Gerrit Haase meant:
> 2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
>> *** Query: Should privilege separation be used? (yes/no) yes

> Running ssh-host-config looks like different for me (openssh-7.2p2-1):

I meant, I am not asked about privilege separation at all.

;)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-07  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 12:39 ssh-host-config fails on Win7 even as admin Bernd Prager
2016-10-07  8:43 ` Gerrit Haase
2016-10-07  9:53   ` Gerrit Haase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).