- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcp : login failed
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-13-2003 11:11 PM
05-13-2003 11:11 PM
rcp : login failed
login failed
I have alreay configue .rhosts
of B machine. Does anyone know how to verify it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 11:25 PM
05-13-2003 11:25 PM
Re: rcp : login failed
A simple test is as user X on server A do;
remsh B -l
and if .rhosts is setup correctly it will return uptime info.
Things to check if it doesnt work;
1. .rhosts on serverB has permissions 400
2. serverA is defined in .rhosts on serverB with full domain name (so that nslookup serverA resolves properly)
3. When you try a remsh or rcp you use the userid on serverB you setup the .rhosts for;
eg. on serverA do> rcp test.txt
4. Is the format of your .rhosts file correct ? to test it temporarily change it to;
serverA +
(which allows all users from serverA to login)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 11:30 PM
05-13-2003 11:30 PM
Re: rcp : login failed
If you are rcping between normal users then the format should be like
$rcp ruser1@rhost1:path1 ruser2@rhost2:path2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 11:40 PM
05-13-2003 11:40 PM
Re: rcp : login failed
from 'man rcp':
The rcp routine is confused by any output generated by commands in a .cshrc file on the remote host.
User is defined at both machines?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 11:45 PM
05-13-2003 11:45 PM
Re: rcp : login failed
check /etc/hosts for proper entries on both the machines.
try giving ip address in place of hostname.
if both machines are trusted, the users must be added through SAM, for whom u are doing rcp. adding a user from the command line is giving problem in case of rlogin and rcp in a trusted system.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 04:54 PM
05-14-2003 04:54 PM
Re: rcp : login failed
can't work well, rcp in A machine is still failed, but in B machine is OK, both the setting are the same.
Any way to troubleshoot this?
Is it possible due to the rcp PATCH?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 05:07 PM
05-14-2003 05:07 PM
Re: rcp : login failed
.rhosts lists who is allowed to log in and from what hostname or ip address.
Lets say we have machA and machB machines
user schmobagel is allowed to use the INSECURE r-protocols.
in the /home/schmobagel/.rhosts file on machA it says:
schmobagel machB
on machB it says
schmobagel machA
This access can be blocked by /etc/hosts.equiv entries which invalidate the .rhosts file, or blocking configuration in the file /var/adm/inetd.sec
Check it out..
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com