This is the mail archive of the
mailing list for the Cygwin project.
sshd permits logon using disabled user?
- From: Bill Stewart <bstewart at iname dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Jan 2019 06:28:11 -0700
- Subject: sshd permits logon using disabled user?
I am running Windows 10 (1803) and experimenting with sshd installed as a
The computer is a domain member. I created a local computer account for
I created host keys and a public/private key pair to use to log on the user.
This works, except I notice that if I disable the Windows user account, I
can still log on using ssh using that account.
In the shell, logged on as the disabled user, the 'whoami' command returns
the name of the disabled user.
This seems unexpected and not good.
Why does sshd allow logon for a disabled user?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple