Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233242 - net-misc/netkit-rsh: auth fails, trying to use pam_rhosts_auth.so (module renamed to pam_rhosts.so)
Summary: net-misc/netkit-rsh: auth fails, trying to use pam_rhosts_auth.so (module ren...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 274963
  Show dependency tree
 
Reported: 2008-07-29 09:10 UTC by Rune Andresen
Modified: 2009-10-07 20:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rune Andresen 2008-07-29 09:10:48 UTC
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.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-21 17:30:45 UTC
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.
Comment 2 Rune Andresen 2009-06-21 19:39:22 UTC
(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
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-21 22:07:16 UTC
Getting rid of netkit-rsh is what I'd like, at some point.
Comment 4 Rick Warner 2009-10-07 20:52:31 UTC
I do not think netkit-rsh should be removed.  It is still used on HPC clusters since it is much faster than ssh.
Comment 5 Rick Warner 2009-10-07 20:53:00 UTC
I do not think netkit-rsh should be removed.  It is still regularly used on HPC clusters as it is much faster than ssh.