- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- allow rcp
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
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
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
тАО08-19-2002 07:12 PM
тАО08-19-2002 07:12 PM
I have modified the /etc/hosts and the /.rhosts as
"unix_hostname root", but it still not work, what file that I need to modify?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 07:15 PM
тАО08-19-2002 07:15 PM
Re: allow rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 07:19 PM
тАО08-19-2002 07:19 PM
SolutionIt should be the home directory (not necessarily /, it could be /root or /home/root depending on how the root's home is setup on the linux system).
I suppose you are trying to do rcp as "root" from unix machine to linux machine.
Logon to the linux machine as root. Do a "cd $HOME" and edit .rhosts and add the entry as you specified.
Make sure the IP address of the unix system is correctly resolved on the linux server.
Also, look at hosts.equiv file and make sure there are no "-" entries.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 07:23 PM
тАО08-19-2002 07:23 PM
Re: allow rcp
Looking at your second message, it appears to me like you are not able to connect to the linux system at all.
Are you getting "connection refused" messages or "login incorrect" message?.
If it is the first case, then you will need to check your firewalls to see if they are disallowing any tcp ports. If not, then the linux system might be configured with tcp_wrappers that denies access to your host.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 10:03 PM
тАО08-19-2002 10:03 PM
Re: allow rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 10:27 PM
тАО08-19-2002 10:27 PM
Re: allow rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 11:05 PM
тАО08-19-2002 11:05 PM
Re: allow rcp
You have to locate the .rhosts file in the root's home diretory, i.e. ~root and add the entry
Of course, you have to add the unix server IP address in /etc/hosts.
I have set all this and I work with my RedHat and HP-UX server.
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 11:34 PM
тАО08-19-2002 11:34 PM
Re: allow rcp
Do you try to do a rlogin to the linux machine?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 11:55 PM
тАО08-19-2002 11:55 PM
Re: allow rcp
The rlogin is not work also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 01:03 AM
тАО08-20-2002 01:03 AM
Re: allow rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 01:14 AM
тАО08-20-2002 01:14 AM
Re: allow rcp
you said the daemons are shielded/protected from access, how to check it? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 03:31 AM
тАО08-20-2002 03:31 AM
Re: allow rcp
Bottom line: Start simple, *one* command (r[em]sh(1)) on *one* system, *to itself*. Only when *that* works, make it bigger, i.e. two systems, but still "r[em]sh host date". When *that* works, ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 04:16 AM
тАО08-20-2002 04:16 AM
Re: allow rcp
.rhosts - you have correctly identified.
/etc/hosts.equiv.
/etc/hosts (make sure the host NAMES in .rhosts exist in /etc/hosts (or in nis - via ypcat hosts| grep NAME) and they match)
/etc/netgroups - if you are using netgroups, and you want to define a group like sales, to be multiple machines.
More about .rhosts - note that .rhosts is looked for in $HOME, so if you changed your root $HOME to be /home/root, or something, then copy or link your .rhosts to that area. Same for users. if you have a /users/jones, and you want them to be able to rcp, you need to verify that the .rhosts exits there (this can be overridden by netgroups)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2002 02:27 AM
тАО08-22-2002 02:27 AM
Re: allow rcp
sorry , I missed the message yesterday .. what I mean by security in fact holds a huge range of possible culprits , going from a router with filetering capabilities over a switch or firewall/proxy setup that handles all data before transmitting it up till software on th elinux itself .. i'm unfortunately no linux guy so I don't know the equivalent on linux but i talk about things like inetd.sec on hp-ux exffectively deniein acces to services for certain IP's and ranges , that is why I stipulated to test first locally on both the linux and hp if they can do all the function onto themselfs if that works there is probably some external cause , that could even be a firewall software running on the linux box