- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hlp rsh(rlogin,rcp,rexec) setup..local working...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 10:15 PM
05-07-2003 10:15 PM
hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
I am almost there but I don't know what I am missing.
I have a server using mandrake 9.1, two client one using mandrake 9.1 another redhat 9.0.
By follwoing previous discussions on this subject, I had installed rsh client, and server. using chkconfig or ntsysv to enable them. modify .rhosts, inspect pam.d/rlogin, modify /etc/securetty to enable root access. I think I am almost there! I can rlogin from mandrake client to mandrake server and rlogin back. No problem. I can rlogin to mandrake server from redhat client not problem. I can rlogin to redhat client from redhat client, no problem......
But I can't rlogin to redhat client from outside.
It seems rlogind is runging, otherwise I can't rlogin within the redhat system. I also checked .rhosts and it seems ok. When I try to login, it waits a little bit before return connection refused. Is there any log message I can check or how do I debug?
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 10:56 PM
05-07-2003 10:56 PM
Re: hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 11:09 PM
05-07-2003 11:09 PM
Re: hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
BTW, better use IPtables on RH9 than the default firewall.
And sure ssh is not necessary on LAN, and said to be risky anyway in open environment !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 12:09 AM
05-08-2003 12:09 AM
Re: hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
good that you have figured out. are you inside a secure LAN. if not, would suggest you to consider using ssh instead of rlogin.
just in case u want, u can configure the firewall to allow only rlogin. check out the man pages of iptables and fire lokkit.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 05:50 AM
05-08-2003 05:50 AM
Re: hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
To run a test.
for iptables firewall...
service iptables stop
for ipchains firewall
service ipchains stop
Your best bet is to look at /etc/services and figure out what port the r-tools need and open it.
The files for configuration changes on the firewall are:
ipchains is /etc/sysconfig/ipchains
iptables is /etc/sysconfig/iptables
If you make changes, to apply them its
service
These are a little tough to grasp at first and you will want to do some reading.
What would be better is to install and use openssh. Then you configure port 22 open on your firewall and passwords will at least be transmitted in encrypted format.
Attaching a doc on how to exchange public keys, which allows for password free connections, even across the public internet.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 10:16 AM
05-08-2003 10:16 AM
Re: hlp rsh(rlogin,rcp,rexec) setup..local working, remote fail
BTW, on RH9, default is IPtables, as kernel is 2.4.x.
J