With sys-libs/pam-1.0.1 the module pam_rhosts_auth.so has been removed in favor of pam_rhosts.so. The ebuild for netkit-rsh installs /etc/pam.d/r{sh|login} with the following text: # Uncomment this and comment the following to use rhosts_auth module #auth required pam_rhosts_auth.so With pam-1.0.1, the text should be: # Uncomment this and comment the following to use rhosts_auth module #auth required pam_rhosts.so Reproducible: Always Steps to Reproduce: 1. USE=pam emerge netkit-rsh 2. Enable pam_rhosts_auth.so 3. Try rsh from remote host Actual Results: Login is denied, prompt for password Expected Results: Login allowed, without password prompt With pam-0.99.9.0 the fix appears to work as well - but I have not done any serious tests. With the old version of pam (0.99.9.0), pam_rhosts_auth.so still exists.
I've fixed this so that it at least seems to work to some extent. Still I think we should consider getting rid of this asap.
(In reply to comment #1) > I've fixed this so that it at least seems to work to some extent. Still I > think we should consider getting rid of this asap. Do you want to: discontinue support for netkit-rsh or remove the comment ?? Regards, Rune Andresen
Getting rid of netkit-rsh is what I'd like, at some point.
I do not think netkit-rsh should be removed. It is still used on HPC clusters since it is much faster than ssh.
I do not think netkit-rsh should be removed. It is still regularly used on HPC clusters as it is much faster than ssh.