Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233242

Summary: net-misc/netkit-rsh: auth fails, trying to use pam_rhosts_auth.so (module renamed to pam_rhosts.so)
Product: Gentoo Linux Reporter: Rune Andresen <andresen-gentoo>
Component: New packagesAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: trivial CC: grimm26
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 274963    

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.