- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can't rcp file
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-31-2005 03:52 PM
05-31-2005 03:52 PM
can't rcp file
I tried a user can do that , but root user can't , could advise except update /.rhosts at host B , how to let root user can rcp file from host A to host B ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:06 PM
05-31-2005 05:06 PM
Re: can't rcp file
ll ~root/.rhosts
Should be:
-rw------- 1 root sys
Do you have a /var/adm/inetd.sec file?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:14 PM
05-31-2005 05:14 PM
Re: can't rcp file
Check man page of hosts.equiv...
here is some abstracts
The /etc/hosts.equiv file and files named .rhosts found in users' home
directories specify remote hosts and users that are "equivalent" to the local host or user. Users from equivalent remote hosts are permitted to access a local account using rcp or remsh.
An entry in the hostequiv file is a single line (no continuations) in the format:
[hostname [username]] [#comment]
Cheers!!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:19 PM
05-31-2005 05:19 PM
Re: can't rcp file
Host A:
$root home /.rhosts
hostb root
Host B:
$root home /.rhosts
hosta root
Do you have anything in /etc/hosts.equiv file? check is it working or not.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:07 PM
05-31-2005 06:07 PM
Re: can't rcp file
What exactly is the error message thrown when running rcp by root user?
With the details given, i would suspect .rhosts file of root user..
check ~root/.rhosts (permission 600) file for the correct entries:
host_A
======
host_B root
host_B
======
host_A root
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:29 PM
05-31-2005 06:29 PM
Re: can't rcp file
Do you have you hosts in secure mode?
Take a glance at http://www.atmos.albany.edu/facstaff/rmctc/ssh2 where it will be explained clearly what to do.
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 10:43 PM
05-31-2005 10:43 PM
Re: can't rcp file
rcp will fail if the hostname is in .rhosts and name resolution can not occur from /etc/hosts or DNS.
In that case you may wish to try the ip address of the server.
There are many things that can block rcp
* firewall port based block.
* host.equiv entries prohibiting the protocol
* network connectivity.
* failed lan card
* failed lan cable
* incorrect switch port configuration.
* permissions on the .rhosts file.
On host B
tail -f /var/adm/syslog/syslog.log
try the rcp from host A to host B
If there is no log entry, then its networking, if there is respond to the error or post it here.
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
06-01-2005 08:51 PM
06-01-2005 08:51 PM
Re: can't rcp file
Good luck,