New password echoes on Sol8
Ed Phillips
ed at UDel.Edu
Sat Oct 27 06:47:18 EST 2001
I'll try it first thing Monday...
On Fri, 26 Oct 2001, Kevin Steves wrote:
> Date: Fri, 26 Oct 2001 13:31:32 -0700 (PDT)
> From: Kevin Steves <stevesk at pobox.com>
> To: Ed Phillips <ed at UDel.Edu>
> Cc: OpenSSH Development <openssh-unix-dev at mindrot.org>
> Subject: Re: New password echoes on Sol8
>
> On Fri, 26 Oct 2001, Ed Phillips wrote:
> :I tried replacing readpassphrase() for v2.9.9p2 on Sol8 with a different
> :version that just calls getpassphrase(). It appears to solve the echo
> :problem when the user tries to login in interactive mode and needs to
> :change their password.
> :
> :Can anyone else try this with v2.9.9p2 on Solaris? Be sure to add:
>
> no!
>
> try this:
>
> Index: auth-pam.c
> ===================================================================
> RCS file: /var/cvs/openssh/auth-pam.c,v
> retrieving revision 1.37
> diff -u -r1.37 auth-pam.c
> --- auth-pam.c 2001/04/23 18:38:37 1.37
> +++ auth-pam.c 2001/10/26 20:30:42
> @@ -87,7 +87,7 @@
> * messages with into __pam_msg. This is used during initial
> * authentication to bypass the normal PAM password prompt.
> *
> - * OTHER mode handles PAM_PROMPT_ECHO_OFF with read_passphrase(prompt, 1)
> + * OTHER mode handles PAM_PROMPT_ECHO_OFF with read_passphrase()
> * and outputs messages to stderr. This mode is used if pam_chauthtok()
> * is called to update expired passwords.
> */
> @@ -148,7 +148,7 @@
> case PAM_PROMPT_ECHO_OFF:
> reply[count].resp = xstrdup(
> read_passphrase(PAM_MSG_MEMBER(msg, count,
> - msg), 1));
> + msg), RP_ALLOW_STDIN));
> reply[count].resp_retcode = PAM_SUCCESS;
> break;
> case PAM_ERROR_MSG:
>
Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services
finger -l ed at polycut.nss.udel.edu for PGP public key
More information about the openssh-unix-dev
mailing list