public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sshd/SYSTEM account/OS version and Cygwin "bitness" limitations
@ 2019-03-28 21:37 Bill Stewart
  2019-03-28 23:18 ` Brian Inglis
  0 siblings, 1 reply; 4+ messages in thread
From: Bill Stewart @ 2019-03-28 21:37 UTC (permalink / raw)
  To: cygwin

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.

==========

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

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

* Re: sshd/SYSTEM account/OS version and Cygwin "bitness" limitations
  2019-03-28 21:37 sshd/SYSTEM account/OS version and Cygwin "bitness" limitations Bill Stewart
@ 2019-03-28 23:18 ` Brian Inglis
  2019-03-29  9:59   ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Brian Inglis @ 2019-03-28 23:18 UTC (permalink / raw)
  To: cygwin

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.

cygstart /usr/share/doc/Cygwin/html/ntsec.html

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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] 4+ messages in thread

* Re: sshd/SYSTEM account/OS version and Cygwin "bitness" limitations
  2019-03-28 23:18 ` Brian Inglis
@ 2019-03-29  9:59   ` Corinna Vinschen
  2019-03-29 14:41     ` Bill Stewart
  0 siblings, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2019-03-29  9:59 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

On Mar 28 17:18, Brian Inglis 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.
> 
> cygstart /usr/share/doc/Cygwin/html/ntsec.html

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.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: sshd/SYSTEM account/OS version and Cygwin "bitness" limitations
  2019-03-29  9:59   ` Corinna Vinschen
@ 2019-03-29 14:41     ` Bill Stewart
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Stewart @ 2019-03-29 14:41 UTC (permalink / raw)
  To: cygwin

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

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

end of thread, other threads:[~2019-03-29 14:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28 21:37 sshd/SYSTEM account/OS version and Cygwin "bitness" limitations Bill Stewart
2019-03-28 23:18 ` Brian Inglis
2019-03-29  9:59   ` Corinna Vinschen
2019-03-29 14:41     ` Bill Stewart

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