Displaying 1 result from an estimated 1 matches for "auth_opts".
Did you mean:
apt_opts
2018 May 24
2
Password change required but no TTY available
...API and") dropped the 'allowed pty' option when
the password has expired. By adding this hack here, I got it
back to the old behavior:
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -62,6 +62,7 @@ extern ServerOptions options;
extern login_cap_t *lc;
#endif
+extern struct sshauthopt *auth_opts;
#define DAY (24L * 60 * 60) /* 1 day in seconds */
#define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */
@@ -122,8 +123,11 @@ auth_password(struct ssh *ssh, const char *password)
}
#endif
result = sys_auth_passwd(ssh, password);
- if (authctxt->force_pwchange)
+ if (authctxt->fo...