Re: sshd permits logon using disabled user?
- Date: Thu, 24 Jan 2019 11:12:42 -0700
- From: Bill Stewart <bstewart@xxxxxxxxx>
- Subject: Re: sshd permits logon using disabled user?
On Thu, Jan 24, 2019 at 10:58 AM Stefan Baur <X2Go-ML-1@xxxxxxxxxxxx> wrote:
That sounds like the total opposite - allowing login without a password.
> Now, if there was a flag PASSWD_NOTPERMITTED or something like that,
> then we'd be able to emulate what can be done on Linux with "passwd -l
> username" and an ssh key file.
You are correct; "password not required" != "password not permitted."
I don't think Windows natively supports password-free logons using only key
files (but I might be wrong about that).
In any case, I'm not sure it's needed to support this scenario. Just set a
very long/random/complex password on the account.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple