- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rlogin is working but remsh is not 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-21-2009 07:05 AM
05-21-2009 07:05 AM
i am able to rloin system1 from system10 with out prompting for password. but i am not able to run remsh in separate or in script.
I am getting following error when trying to run remsh from system10
Ex:
root@system10:/root > remsh system1 -n grep ze4egi /etc/passwd
remshd: Login incorrect.
But i am able to rlogin in to system10 successfully.
inetd.conf file of system 1
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
How to solve this problem
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 07:15 AM
05-21-2009 07:15 AM
Re: rlogin is working but remsh is not working
You will realize, life is much simpler once you set up your working key pairs.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2009 08:29 PM
05-21-2009 08:29 PM
Re: rlogin is working but remsh is not working
Did you checked inetd.sec file ?
inetd.sec is a file that can be used to restict access of inetd services (ftp, telnet, rlogin etc) to particular networks. The file is found at /var/adm/inetd.sec. If this file does not exist then inetd services are open to all ip addresses.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2009 05:31 AM
05-23-2009 05:31 AM
Re: rlogin is working but remsh is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2009 10:02 PM
05-23-2009 10:02 PM
Re: rlogin is working but remsh is not working
Answer to your last query:
http://docs.hp.com/en/B2355-60105/inetd.sec.4.html
http://docs.hp.com/en/B2355-90685/ch02s04.html
http://docs.hp.com/en/B2355-90774/ch02s02.html
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-23-2009 11:09 PM
05-23-2009 11:09 PM
Re: rlogin is working but remsh is not working
If system1 to system10 does not work then the issue is on system10.
Many things need to happen on system10.
1) remsh needs to be configured in inetd.conf
2) if inetd.sec is being used then remsh needs to be allowed from system1 and others.
3) .rhost file on system10 must be configured properly. If using hostnames then /etc/hosts must be configured correctly for system1.
4) If there is a firewall between system1 and system10 then the firewall needs to be configured correctly.
5) What are the permissions on the .rhosts file on the system10 that is not working? The permissions should be 600 (-rw-------)
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2009 05:50 PM
05-24-2009 05:50 PM
Re: rlogin is working but remsh is not working
this document may help you to find out solusion, go through it, thanks,
http://docs.hp.com/en/B2355-90827/ch05s02.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2009 10:04 PM
05-24-2009 10:04 PM
Re: rlogin is working but remsh is not working
see the output of a inetd.sec file
# inetd.sec -- this inetd.sec contains the minimum security needed
# inside HP on the 15 network.
# For the 192.170.74.0 network/netmask 255.255.255.128 (ffffff80)
# entries shoud be similar to this
# telnet allow 127.0.0.1 192.170.74.0-127 15.13.146-147.*
# this will only allow the OSD-15- and the 192.170.74.0/ffffff80-
# networks to use the services.
ftp allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
telnet allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
login allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
shell allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
exec allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
omni allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2009 05:35 AM
05-28-2009 05:35 AM
Re: rlogin is working but remsh is not working
First you should put related problems in the same threath !!
second Please check also your /etc/hosts
if you want thas system1 connect to system2 your /etc/hosts of the system2 should look like this:
xx.xx.xx.xx system2.domain.com system2 xx.xx.xx.xx system1.domain.com system1
127.0.0.1 localhost loopback
Best regards !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2009 09:56 AM
06-25-2009 09:56 AM
Re: rlogin is working but remsh is not working
I am closing this thread.