- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to 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
10-07-2003 06:41 AM
10-07-2003 06:41 AM
unable to remsh
1) the "user1" ID has been set up on both hosts
2) both hosts (A & B) are in the .rhosts file in both $HOME's; the permissions and ownership are also the same on both .rhosts
3) I have set up another ID (user2) on both hosts and given him remsh access in the same way as user1. I'm able to remsh in both directions using this ID.
I'm really not sure what else to check. If you have any ideas on what I might be neglecting, please let me know.
Thanks in advance.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:44 AM
10-07-2003 06:44 AM
Re: unable to remsh
Are the home directories correct in the two passwd entries for user1?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:45 AM
10-07-2003 06:45 AM
Re: unable to remsh
Make sure HostA does *not* have any rules in /var/adm/inetd.sec preventing either user1, the host user1 is using or the subnet that the host user1 is using is on from connecting. You should also check whether HostA has tcpwrappers installed & is using /etc/hosts.allow and/or /etc/hosts.deny
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:46 AM
10-07-2003 06:46 AM
Re: unable to remsh
Have you checked the account on the server you are trying to remsh to that you are having a problem with ? ensure it's not expired etc
what message do you receive ?
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:48 AM
10-07-2003 06:48 AM
Re: unable to remsh
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:55 AM
10-07-2003 06:55 AM
Re: unable to remsh
Yes, the home dir's are correct in both passwd files. I just double-checked.
Jeff,
That's one thing I neglected to mention. I did check the inetd.sec on both hosts and there don't appear to be any rules that would prevent my remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 06:58 AM
10-07-2003 06:58 AM
Re: unable to remsh
is there any flag in your command to insist on interactive usage?
You should be seeing an error but I don't see any posting of it. I.e., login incorrect.
Can you use the fully qualified host name and succeed? I.e. host@domain.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 07:23 AM
10-07-2003 07:23 AM
Re: unable to remsh
Yes, perhaps I was unclear about what the precise problem is. I am able to remsh to host A as user1, but I have to supply the passwd in order to do so (which kinda defeats the purpose of using remote shell). Note: I can remsh (without supplying a password) from A to B, under the user2 ID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 07:53 AM
10-07-2003 07:53 AM
Re: unable to remsh
# pwck
# grpck
Perhaps remove and add in the problem user.
Any you've checked all the permissions? Right?
$HOME dir.s are executable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 08:07 AM
10-07-2003 08:07 AM
Re: unable to remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2003 08:29 AM
10-07-2003 08:29 AM
Re: unable to remsh
Check your host file on both systems. Make sure that everything is ok in there. Specifically look at the host file on HOSTA, since that is the one asking for a password. I had the same problem with one of my servers. The server asking for the password did not have an entry in it's host file for the other server.
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 06:18 AM
10-08-2003 06:18 AM
Re: unable to remsh
If you have any other suggestions, please submit. I'm obviously at a loss.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2003 06:25 AM
10-08-2003 06:25 AM
Re: unable to remsh
Last guess: re-create the .rhosts files for user1 on both hosts.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 06:10 PM
10-09-2003 06:10 PM
Re: unable to remsh
Check the entry for 'shell' in /etc/inetd.cfg
It should not have "-l" at the end because that disables the /home/*/.rhosts functionality.
-Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 06:14 PM
10-09-2003 06:14 PM
Re: unable to remsh
/etc/inetd.conf iso /etc/inetd.cfg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 06:53 PM
10-09-2003 06:53 PM
Re: unable to remsh
Then run "finger -l | more", and find the entry for the user you have just logged in as. Check the "Login name:" against the "In real life:" user name. Then check the server name in the line that looks something like :
"On since Oct 10 08:48:23 on pts/38 from host.domain".
Check that the username and the "host.domain" is correctly recorded in your .rhosts for the server and user yoiu have just logged into (or in hosts.equiv if you are using that).
I've had weird problems like this due to vagueries in DNS lookup sequences, duplicate entries for a specific IP in /etc/hosts, and so on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2003 08:43 PM
10-09-2003 08:43 PM
Re: unable to remsh
since this doesn't seem to be related to inetd.sec, would you perchance have an ip filter on your B machine?
The easiest way to check if you may have one is to check if you have an /etc/rc.comnfig.d/ipfconf script with the variable IPF_START set to 1.
In which case, you may want to look at the $IPF_CONF file defined in the same script and remove the rule preventing you from remshing to the other host...
HTH,
FiX