rlogin in Fedora 7 - Networking

This is a discussion on rlogin in Fedora 7 - Networking ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: rlogin in Fedora 7

  1. rlogin in Fedora 7

    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.]



  2. Re: rlogin in Fedora 7

    "LaBird" writes:

    > 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


    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/

+ Reply to Thread