rlogin in Fedora 7

Discussion in 'Linux Networking' started by LaBird, Jan 16, 2008.

  1. LaBird

    LaBird Guest

    Dear all,

    I installed Fedora 7 and wanted to enable "rlogin" and "rsh" for some
    testing of the older software which do not support ssh. I succeeded in
    setting rsh without prompting for password (by using .rhosts), but I was
    held in rlogin. Every time I called rsh from I remote machine without a
    trailing command, I was asked for password. I checked the /var/log/secure
    and found the following messages:

    Jan 16 08:54:09 test rlogind[11388]: pam_rhosts_auth(rlogin:auth): allowed
    to user1234@node22 as user
    Jan 16 08:54:09 test rlogind[11388]: PAM audit_open() failed: Permission
    denied
    Jan 16 08:54:09 test rlogind[11389]: PAM audit_open() failed: Permission
    denied
    Jan 16 08:54:11 test login: pam_unix(remote:session): session opened for
    user user1234 by (uid=0)
    Jan 16 08:54:11 test login: LOGIN ON pts/1 BY user1234 FROM node22

    I suppose I've missed some settings on the rlogind. I allowed ports 513 and
    514 on the firewall already. Are there any further settings? Thanks a lot!

    Best Regards,
    LaBird (Benny).
    [Email: remove the underscores for the correct email address.]
     
    LaBird, Jan 16, 2008
    #1
    1. Advertisements

  2. LaBird

    John Murtari Guest

    This is from RHEL 4, but it should help you with FC 7, to get
    rsh going, add 'rsh' to /etc/securetty (if you want remote root access)

    Check /etc/pam.d and make sure you have an entry for rsh:
    ---
    #%PAM-1.0
    # 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 sufficient pam_rhosts_auth.so
    account required pam_stack.so service=system-auth
    session required pam_stack.so service=system-auth
    ----

    I believe that should get you through!

    --
    John
    ___________________________________________________________________
    John Murtari Software Workshop Inc.
    jmurtari@following domain 315.635-1968(x-211) "TheBook.Com" (TM)
    http://thebook.com/
     
    John Murtari, Jan 18, 2008
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.