This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd permits logon using disabled user?
On Thu, Jan 24, 2019 at 10:58 AM Stefan Baur <X2Go-ML-1@baur-itcs.de> 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.
Regards,
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