search for: auth_restrict_sess

Displaying 2 results from an estimated 2 matches for "auth_restrict_sess".

2018 May 24
2
Password change required but no TTY available
...4L * 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->force_pwchange) { auth_restrict_session(ssh); + /* Allow password change via pty */ + auth_opts->permit_pty_flag = 1; + } return (result && ok); } Is this an intentional change (auth_restrict_session) or is just an oversight to enable the PTY back to allow password changes remotely? Maybe I should also explain why t...
2022 Apr 08
31
[Bug 3418] New: tracking bug for openssh-9.1
https://bugzilla.mindrot.org/show_bug.cgi?id=3418 Bug ID: 3418 Summary: tracking bug for openssh-9.1 Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at