"LaBird" <(E-Mail Removed)> 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/