- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems with remsh
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
12-28-2005 09:24 AM
12-28-2005 09:24 AM
WhenI try to run remsh, I get the following error message. Why is this happening. I have the right entry in /etc/inetd.conf.
# remsh sbda1
rlogin: login/tcp: Unknown service
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 09:42 AM
12-28-2005 09:42 AM
SolutionSee that you have proper entries in /etc/services for
exec 512/tcp # remote execution, passwd required
login 513/tcp # remote login
who 513/udp whod # remote who and uptime
shell 514/tcp cmd # remote command, no passwd used
Check that none are commented.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 09:58 AM
12-28-2005 09:58 AM
Re: Problems with remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 10:11 AM
12-28-2005 10:11 AM
Re: Problems with remsh
I am talking about the /etc/services file on the remote machine where you are trying to remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 10:22 AM
12-28-2005 10:22 AM
Re: Problems with remsh
Now, the problem is, I cannot remsh as root. Even if I give the right login information. It just keeps asking for the password. I think there is a variable somewhere that I can set to allow root logins via remsh, is that so?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 10:47 AM
12-28-2005 10:47 AM
Re: Problems with remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 12:47 PM
12-28-2005 12:47 PM
Re: Problems with remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 12:57 PM
12-28-2005 12:57 PM
Re: Problems with remsh
rlogin: login/tcp: Unknown service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 01:04 PM
12-28-2005 01:04 PM
Re: Problems with remsh
exec 512/tcp
login 513/tcp
who 513/udp whod
shell 514/tcp cmd
And if you are using Kerberos authentication then
klogin 543/tcp
eklogin 2105/tcp
Should be enabled on the destination server in /etc/services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 01:11 PM
12-28-2005 01:11 PM
Re: Problems with remsh
Aside from '/etc/services' make sure that you have a line like this in '/etc/inetd.conf' :
login stream tcp nowait root /usr/lbin/rlogind rlogind
If it is commented-out; un-comment it; and re-read 'inetd' thusly:
# inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 07:27 PM
12-28-2005 07:27 PM
Re: Problems with remsh
exec 512/tcp # remote execution, passwd required
login 513/tcp # remote login
shell 514/tcp cmd # remote command, no passwd used
Three must be there on remote machine.
You have to setup .rhosts file in remote server and local server in account names $HOME directory as,
Local machine - root user $HOME directory
cat .rhosts
remotemachine root
Remote machine - root user $HOME directory
cat .rhosts
remshinsitiatingmachine root
Check /etc/inetd.conf file for remsh support as,
login stream tcp nowait root /usr/lbin/rlogind rlogind
If you are going to kerberose then,
klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
Then reconfigure inetd (aemon) as,
inetd -c
That is it.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2005 07:37 PM
12-28-2005 07:37 PM
Re: Problems with remsh
You can check the following threads for troubleshooting,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=120080
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=922831
-Arun