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: cygwin 3.0.1-1 breaks my sshd install


Upd: the trick with pre-logging in by other means does not work:

$ /usr/bin/editrights -u git -l
SeBatchLogonRight

I've created the wake-s4u scheduled job following the instructions from the ml thread: "sshd problem on WS2008R2 64bit"
cmd.exe is running as that user, but seteuid still fails.

Of course, the whole problem applies to the public key auth. Logging in with password works for both domain and local.

15.09.2019 9:12, Basin Ilya пишет:
> Hi.
> The problem is still there.
> With the latest cygwin1.dll you can't have both domain and local users working. cyg_server only allows local users and Local System only allows domain users.
> Downgrading cygwin1.dll to 2x is the only thing that actually works. (have to downgrade sshd.exe too, because of missing symbols)
> 
> Running Wow64 Cygwin on Windows 7. See attached cygcheck.out
> 
> 
> 21.02.2019 0:49, Houder пишет:
>> On Wed, 20 Feb 2019 21:27:22, Andy Moreton  wrote:
>>
>>> I've seen a similar failure, on a domain-joined Windows 10 box running
>>> cygsshd using a local cyg_server user account. I've fixed it by:
>>> 1) Open the "Computer Management" app
>>>    Select "Services and Applications", then "Services", and
>>>    choose the cygsshd service from the list.
>>> 2) Stop the service
>>> 3) Select the "Log On" tab, choose "Local System Account" and click OK.
>>> 4) Restart the service.
>>>
>>> This changed the account reported by "cygrunsrv -VQ" from "./cyg_server"
>>> to "LocalSystem".
>>
>> 64-@@ uname -a
>> CYGWIN_NT-6.1 Seven 3.0.1(0.338/5/3) 2019-02-20 10:19 x86_64 Cygwin
>>
>> First I replaced cygwin1.dll again w/ the last version, as you can see ...
>>
>> Then I carried out you instruction ...
>>
>> To my surprise it did the trick! Thank you!
>>
>> Perhaps Corinna can give a hint of why the modification made the difference.
>>
>> Henri
>>
>>

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