Web lists-archives.com

Re: sshd/SYSTEM account/OS version and Cygwin "bitness" limitations




On Fri, Mar 29, 2019 at 4:00 AM Corinna Vinschen wrote:

> > On 2019-03-28 15:36, Bill Stewart wrote:
> > I am trying to understand the limitations when running sshd using the
> > SYSTEM account.
> >
> > Is the following complete and correct?
> >
> > ==========
> >
> > OS_version*  OS_bitness  sshd_bitness  Notes
> > --------------------------------------------------
> > < 6.3        64-bit      32-bit        Note 1
> > < 6.3        64-bit      64-bit        Note 2
> > < 6.3        32-bit      32-bit        Note 2
> > > = 6.3      64-bit      64-bit        No problems
> > > = 6.3      64-bit      32-bit        No problems
> > > = 6.3      32-bit      32-bit        No problems
> >
> > * "< 6.3" = "older than Windows 8.1/Server 2012 R2"; ">= 6.3" = "at
least
> > Windows 8.1/Server 2012 R2"
> >
> > Note 1: sshd cannot authenticate local accounts, but it can authenticate
> > domain accounts.
> >
> > Note 2: sshd can't authenticate local accounts after a reboot unless
> > another logon happens first.
> >
> > Unfortunate implication of Note 1: 32-bit version of sshd running as
SYSTEM
> > account on OS < 6.3 on non-domain member computer cannot authenticate
any
> > accounts.
>
> Or https://cygwin.com/cygwin-ug-net/ntsec.html
>
> AFAIK, the only problem left are OS versions 6.0 (Vista/2008)
> and 6.1 (7/2008R2), and only 32 bit Cygwin running under WOW64,
> *not* 32 bit Cygwin running on a 32 bit Windows.

I read the documentation again (ntsec.html), and I don't see detailed
Windows version specifics. (Hence this message...)

Regarding 6.0 (Vista/Server 2008) and 6.1 (7/Server 2008 R2) 64-bit OS
running 32-bit sshd: That's covered in the first row of the table
(OS_version < 6.3).

Regarding 6.0 (Vista/Server 2008) and 6.1 (Windows 7) 32-bit OS running
32-bit sshd: Only affected by Note 2 (third row of table).

It would seem that my breakdown is complete and correct, then. (If anyone
sees an error, please reply.)

Thanks!

Bill

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