- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh, rlogin
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
06-15-2001 12:12 PM
06-15-2001 12:12 PM
remsh, rlogin
rlogin remote-hostname -l user-name
I am getting the
connection closed
message. I have checked /etc/services and /etc/inetd.conf and none of the related commands are commented out. Is there anything else I should be checking that I am not. I am not using DNS either just the local host.
I apprecite the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 12:27 PM
06-15-2001 12:27 PM
Re: remsh, rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 12:38 PM
06-15-2001 12:38 PM
Re: remsh, rlogin
There are a number of issues you need to check.
1. If you made any changes to /etc/inetd.conf in order to activate rlogin, you will need to execute "inetd -c" to make the changes effective.
2. You mention that you use only /etc/hosts on both machines. Ensure that both local and remote machines nslookup (hostname -> IP and IP -> hostname) correctly on both machines. If not, edit /etc/hosts and make corrections. Also make sure your /etc/nsswitch.conf file on both machines specify the use of /etc/hosts (files) before any other name service.
3. Are you attempting the rlogin as user "root"? If so, make sure there is an entry in /.rhosts on the remote machine for the local machine's name. If you are trying to rlogin as a non-root user, make sure there is an entry in /etc/hosts.equiv on the remote machine for the local machine's name.
4. It's also a good idea to have your UID's and GID's consistent between machines.
5. Check available resources such as
man 1 rlogin
man r hosts.equiv
Best Regards,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 12:40 PM
06-15-2001 12:40 PM
Re: remsh, rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 01:28 PM
06-15-2001 01:28 PM
Re: remsh, rlogin
If you aren't sure if your network is secure, you should get ssh and use it rather than the "r" commands.
Good luck!
J.R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 02:20 PM
06-15-2001 02:20 PM
Re: remsh, rlogin
password:
prompt. I am not getting UNKNOWN host error or something like that just connection closed message. I do not have /var/adm/inetd.sec either. I did not modify /etc/inetd.conf to run inetd -c. What could it be?
thanks
guys
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2001 04:38 PM
06-15-2001 04:38 PM
Re: remsh, rlogin
Since you are getting immediately connected I would be willing to bet that inetd.sec is the problem, or someone installed tcp-wrappers.
If you are connecting to a Sun, as root there is a security feature in a file called /etc/default/login. In order to login remotely as root, you must comment out a Console line.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2001 01:53 AM
06-17-2001 01:53 AM
Re: remsh, rlogin
If i face a prob like this,i would do the following,
01. ping remote host
02. telnet remote host
You can look for some probs in the remote machine.
Whether /etc/inetd.conf contain a line as follows,
login stream tcp nowait root /usr/lbin/rlogind
If does not exist create it and do inetd -c (It reads the file once again.
Do checkup for some netwrk probs also. If any socket error happens , rlogind reject the connection with "Connection closed" message.
Best Wishes,
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2001 01:55 AM
06-17-2001 01:55 AM
Re: remsh, rlogin
Amir
Please check up whether both the machines are pinging to each other or not by using IP address. If not, there is some network connectivity problem
If it is pinging, then U can check the entry in remote machine's /var/adm/inetd.sec. here ur local machine name should not be there after deny option.
I don't think .rhost file and hosts.equiv files will come in to picture here.
Best of luck
Shahul