[scponly] --enable-passwd-compat and echo'd passwords

Kaleb Pederson kpederson at mail.ewu.edu
Thu Mar 24 11:33:21 EST 2005


Hmm.... I was testing out my mods to support passwd changes outside of the 
chroot, and I noticed that even without my mods, the passwords are echo'd to 
the terminal  The following is from scponly-4.0 with only a single patch to 
make --enable-passwd-compat mode work:

$ ssh -o PreferredAuthentications=password test at localhost passwd
test at localhost's password: (I type in my password w/no echo'ing)
(current) UNIX password: somepass
New UNIX password: testpass
BAD PASSWORD: is too similar to the old one
New UNIX password: testpass2
Retype new UNIX password: testpass2
passwd: password updated successfully
Changing password for test

The above happens on Linux.  Does anybody else see the same behavior?  Anybody 
know how to fix it offhand?

Thanks.

--Kaleb



More information about the scponly mailing list