Comment 4 for bug 582858

Revision history for this message
Matteo Landi (landimatte) wrote : Re: [Bug 582858] Re: Unable to login using .rhosts

As you said, I installed rsh-server.
Removing the symbolic links, the package, and reinstalling
rs-redone-server fixed the problem.
Regards,

ps. sorry for the late answer.

On Thu, Jun 10, 2010 at 4:33 PM, Brian J. Murrell <email address hidden> wrote:
> Yes, indeed, this is a problem with the rsh-server package.  The problem
> is that per libpam-modules:
>
> pam (1.1.0-3) unstable; urgency=low
>
>  * pam_rhosts_auth module obsolete, symlink removed
>
>    The pam_rhosts_auth module was dropped upstream prior to the lenny
>    release and a compatibility symlink provided in the libpam-modules
>    package, pointing at the new (and not 100% compatible) pam_rhosts
>    module.  This symlink has now been dropped.  If you still have
>    references to pam_rhosts_auth in your /etc/pam.d/* config files, you
>    will need to fix these, since they no longer work.
>
>    For information on using pam_rhosts, see the pam_rhosts(8) manpage.
>
>  -- Steve Langasek <email address hidden>  Wed, 02 Sep 2009 16:17:16 -0700
>
> Yet in /etc/pam.d/rsh from rsh-server:
>
> auth    required        pam_nologin.so
> auth    required        pam_env.so
> auth    required        pam_rhosts_auth.so
> account required        pam_unix_acct.so
> session required        pam_unix_session.so
>
> --
> Unable to login using .rhosts
> https://bugs.launchpad.net/bugs/582858
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “netkit-rsh” package in Ubuntu: New
>
> Bug description:
> Everytime I try to login via rlogin using the .rhosts file, I get back a "Permission denied" message, and I'm prompted for the password.
>
> I checked the error messages from /var/log/auth.log, and it seems a few libraries are missing from /lib/security. In particular I needed to symlink a few of them before succeeding with the no-password login:
>
> # ln -s pam_rhosts.so pam_rhosts_auth.so
> # ln -s pam_unix.so pam_unix_session.so
> # ln -s pam_unix.so pam_unix_acct.so
>
> Is this a known problem or not?
>
> Hope this could help.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: rsh-server 0.17-14ubuntu1
> ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-22-generic x86_64
> Architecture: amd64
> Date: Wed May 19 16:00:22 2010
> InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
> ProcEnviron:
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: netkit-rsh
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/netkit-rsh/+bug/582858/+subscribe
>

--
Matteo Landi
http://www.matteolandi.net/