Expired passwords on Solaris with PAM
Nicolas Williams
Nicolas.Williams at ubsw.com
Sat Oct 27 04:58:08 EST 2001
Do not use getpass() on Solaris -- it crops the password it reads at 8
characters. Yes, it does.
Use getpassphrase() instead.
Nico
On Fri, Oct 26, 2001 at 02:30:48PM -0400, Ed Phillips wrote:
> I've been doing so more tests with 2.9.9p2 on Sol8. Here are my
> finding so far:
>
> When a user needs to change his password and trys to run a command in
> non-interactive mode, it just succeeds without even trying to prompt the
> user for a new password. Damien submitted a fix - it works for me (is it
> going into CVS?).
>
> When a user needs to change his password and trys to login in interactive
> mode, readpassphrase() gets called, but doesn't seem to be working
> correctly on Sol8 - meaning, it doesn't correctly disable echo. Would it
> be possible to use getpass() on Solaris instead for the TTY case
> (although, getpass() is not MT-Safe if that matters to anyone). Any
> ideas?
>
> Ed
>
> 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
>
--
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the openssh-unix-dev
mailing list