This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: Patch for openssh : allow to use AuthorizedKeysCommand on sshd on cygwin
- From: Pierre Souchay <pierre at souchay dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 1 Aug 2017 22:53:31 +0200
- Subject: Re: Patch for openssh : allow to use AuthorizedKeysCommand on sshd on cygwin
- Authentication-results: sourceware.org; auth=none
- References: <084EF63F-381C-46B2-A644-4BCA9B599234@souchay.net> <20170731201228.GF18950@calimero.vinschen.de> <BCE73C40-C4B3-4D40-87B0-566CD407F213@souchay.net> <87lgn3kuwf.fsf@Rainer.invalid>
Hello,
> On 1 Aug 2017, at 20:25, Achim Gratz <Stromeko@nexgo.de> wrote:
>
> Pierre Souchay writes:
>> (The issue being that root on CYGWIN is not uid=0 but uid=18 aka
>> SYSTEM)
>
> This is a misconception. There is no root user on Windows and
> consequently there is none on Cygwin. There are multiple possibilities
> of what could be usefully considered a proxy for root, so it's
> inappropriate to hard-code some other SID instead.
Well I am fine with that.
Practically speaking, the feature cannot work as it is right now, since nobody has uid=0 - so does not work on Cygwin.
In our infrastructure, all of Cygwin is installed as SYSTEM (uid=18), thus my patch (We are currently using a quite old version of Cygwin).
I am quite open to suggestions and would be glad to fix it the way you want.
Best Regards
Pierre Souchay
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+