- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Can' t run 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
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
07-18-2003 04:56 PM
07-18-2003 04:56 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 04:59 PM
07-18-2003 04:59 PM
Re: Can' t run rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 05:54 PM
07-18-2003 05:54 PM
Re: Can' t run rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 11:23 PM
07-18-2003 11:23 PM
Re: Can' t run rcp
Here we go :
Your .rhost file, being in root directory, do not need to containt 'root'.
It should contain machine names on which you have accounts, say
host A
host B
host C
and so on. Your machines should be referenced on DNS server, or you can use IP if it's not the case.
This .rhost file should be the same on each computer !!
Check that rlogind is on.
It should work.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2003 08:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2003 08:47 AM
07-19-2003 08:47 AM
Re: Can' t run rcp
If you use another user's account, then it's in /home/user_name/.rhosts that all this should be written.
Difficulty is that most of the time, even if you have same user name, you don't have same UID and GID, and root is the easiest user to handle as it has all rights.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2003 09:57 AM
07-19-2003 09:57 AM
Re: Can' t run rcp
juno,
1. what is the error u are getting? Permission denied. or u sure it is no firewall issue.
2. what is the user ur are trying to rcp. root? or some other user. are the names same on both the boxes.
3. does rsh or rlogin work. mean to ask, does rsh between the boxes go without a password.
4. is rsh/rcp/rexec enabled.
5. is there a tcp wrappers running and u have disabled access in hosts.allow or hosts.deny
6. is the rhosts file group/world writable. try access permissions of 400 on this file.
just some random thoughts. dont blame me if it doesnt help :-(
-balaji (working in the nights have made me dull)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2003 10:52 PM
07-19-2003 10:52 PM
Re: Can' t run rcp
How is it that you slept so few hours this week ? To hot ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2003 04:43 AM
07-20-2003 04:43 AM
Re: Can' t run rcp
Shut down whatever firewall two of the machines are using.
service iptables stop
or
service ichains stop
Then re-run the test.
If it works, you know its a simple firewall problem. You can post the configuration here and we will help, or you can work it out yourself. As I recall port 504 is pretty important.
As others have recommended, Openssh is a much better choice. Its easier to configure and its much more secure.
I'm attaching a doc that can help you get password free file transfer and command running in 10 minutes time.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com