- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: help rcp problem..
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-23-2003 12:18 PM
10-23-2003 12:18 PM
how to setup rcp
[root@ecfarm4 /root]# rcp a 211.230.50.34:/
Permission denied.
what's the problem..?
any tips would be helpful
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 12:42 PM
10-23-2003 12:42 PM
Re: help rcp problem..
1) The 'rsh' service isn't enabled on the remote machine.
2) The 'root' user isn't permitted to use the r* services.
3) The .rhosts (host equivlancey) is not configured correctly.
Depending on what OS is on the server box (211.230.50.34) depends on the steps that you are now requried to take.
On a side note, is there any particular reason you are using plain-unsecure rcp instead of the OpenSSH equivlant (scp) ? It would be preferable that you set up SSH to send the data in an encrypted, and secure way, especially as it appears to be over a public network link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 03:22 PM
10-23-2003 03:22 PM
Re: help rcp problem..
/etc/hosts.equiv it can block r-protocols.
You need a .rhosts file in the home directory of the user.
Check /etc/inetd.conf and or xinetd.conf for the r-protcols being run.
Check the disable flags in /etc/xinetd.d/ for rexec and rlogin.
You might want to restart inetd or the whole box if you make major changes.
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
10-23-2003 04:13 PM
10-23-2003 04:13 PM
Re: help rcp problem..
Oct 24 12:14:26 211.230.50.37/211.230.50.37 last message repeated 12 times
Oct 24 12:14:26 211.230.50.37/211.230.50.37 ftpd[25028]: FTP session closed
Oct 24 12:14:26 211.230.50.37/211.230.50.37 xinetd[22990]: EXIT: ftp pid=25028 duration=5(sec)
Oct 24 12:14:27 211.230.50.37/211.230.50.37 kernel: Non Fatal error on ida/c0d0
syslog is logging as above..
.rhosts /etc/hosts.equiv /etc/xinetd.d/rsh enabled..
what's the problem?
who help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 04:23 PM
10-23-2003 04:23 PM
SolutionIf it is as you say, and /etc/securetty has 'rsh' in it (or the pam.d entry for rsh is not rejecting root on pseudo-tty's), then I'd say firewall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 05:19 PM
10-23-2003 05:19 PM
Re: help rcp problem..
/etc/pam.d/rlogin
/etc/pam.d/rexec
after insert '#' pam_rhosts_auth each of them
it works fine ^^^^^^^^^^^^^^
thanks all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 06:35 PM
10-23-2003 06:35 PM
Re: help rcp problem..
That is a VERY BAD thing.
If commenting out that line fixed it, it would mean that the '~/.rhosts' file on the server either did not have the correct permissions (600), or was not populated correctly (did you have a name, when it doesn't resolve?).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 08:49 PM
10-23-2003 08:49 PM
Re: help rcp problem..
Yes, this is not such a good idea, I would at least use safer tool, I mean shh, sftp, scp because they are most probably already there on the system, so much safer (no clear password, strong encryptation, etc), same fuctionality.
Present setup to debbug, but when problem solved rectifie setup (make safe again), start using ssh tools.
I usualy disable all the "r" command (rsh,rhost) and ftp only use sft and ssh
Just my 0.02 Euro/cent
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2003 11:43 PM
10-23-2003 11:43 PM
Re: help rcp problem..
openssh
http://openssh.org
or get it from red hat with http://www.redhat.com as rpm files.
Password free access can be set up by exchanging public keys.
See attachement.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com