Networking Forums

Networking Forums > Computer Networking > Linux Networking > rlogin in Fedora 7

Reply
Thread Tools Display Modes

rlogin in Fedora 7

 
 
LaBird
Guest
Posts: n/a

 
      01-16-2008, 08:05 AM
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.]


 
Reply With Quote
 
 
 
 
John Murtari
Guest
Posts: n/a

 
      01-18-2008, 04:59 PM
"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/
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rlogin + NAT = Connection from x.x.x.x on illegal port Christian Gauler Linux Networking 2 06-21-2005 04:35 PM
Installed Fedora, can't telnet from PC into Fedora machine? Santa Linux Networking 5 11-15-2004 05:25 AM
rlogin (I know I know but we have to use it) Binner Linux Networking 1 10-12-2004 05:50 PM
Why can't rlogin?? Frank Linux Networking 3 02-09-2004 11:43 AM
rsh + rlogin without password (.rhosts) -> NOT WORKING Pedro Salazar Linux Networking 2 07-10-2003 05:56 PM



1 2 3 4 5 6 7 8 9 10 11