From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686;
Description of problem:
rsh using password prompt for "assword:" and does not work
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Change the /etc/pam.d/rsh to allow authentification using password.
> cat /etc/pam.d/rsh
# For root login to succeed here with pam_securetty, "rsh" must be
# listed in /etc/securetty.
auth required pam_nologin.so
auth required pam_securetty.so
auth required pam_env.so
auth required pam_stack.so service=system-auth
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
2. Issue a rsh command from a remote machine.
> rsh <hostname> ls
3. The password prompt display "assword:", text is displayed when you
type and won't accept the password.
Please, use rlogin if you need users authentication. The "rsh" design
and client/server protocol doesn't expect that PAM (or something
other) will ask for user's password. There is a problem that PAM (on
server) send to client the string "Password: " in situation when
client expects '\0' or nothing.
We cannot change rsh client/server protocol or PAM design -- better is
using right tools.