- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rcp working fine until /etc/passed file copied...
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
06-22-2001 07:27 AM
06-22-2001 07:27 AM
Thanks for any help
Brent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 07:31 AM
06-22-2001 07:31 AM
Re: rcp working fine until /etc/passed file copied over
your .rhosts file and hosts.equiv in /etc have the host entries correct ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 07:35 AM
06-22-2001 07:35 AM
Re: rcp working fine until /etc/passed file copied over
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 07:37 AM
06-22-2001 07:37 AM
Re: rcp working fine until /etc/passed file copied over
The only thing that changed was the addition of the /etc/passwd file copied over. If i move the old /etc/passed file back on the new server I can rcp again.
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 07:38 AM
06-22-2001 07:38 AM
Re: rcp working fine until /etc/passed file copied over
did you also rcp over /etc/group?
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 07:43 AM
06-22-2001 07:43 AM
Re: rcp working fine until /etc/passed file copied over
Bill: Yes, I copied over /etc/group and /etc/logingroup before I did /etc/passwd to try and avoid have different uid's and gid's. So uid's and gid's should all be the same now.....
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 08:08 AM
06-22-2001 08:08 AM
Re: rcp working fine until /etc/passed file copied over
1.Check for the home directory defined for root in the new passwd file , in case it has got changed , or try just doing a cd it should take you to the home directory for root.
2. If this is correct then try doing a rlogin to the other server , incase it goes w/o asking the passwd then u can do rcp w/o a problem .
3. Aslo sometimes in .rhosts try putting the real IP address and the user name in place of the hostname ? just in case there is something wrong with /etc/hosts.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 08:13 AM
06-22-2001 08:13 AM
Re: rcp working fine until /etc/passed file copied over
It's not some kind of trusted system with /etc/shadow etc?
Do you see any files on the rcp'd host with numeric owners/groups?
Does remsh work?
remsh server2 "ls /"
Are the permissions the same?
Make sure there are no spaces in the password file.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 08:15 AM
06-22-2001 08:15 AM
Re: rcp working fine until /etc/passed file copied over
Check for white space at the end of password entry.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 08:39 AM
06-22-2001 08:39 AM
Re: rcp working fine until /etc/passed file copied over
There are no white spaces in the /etc/passwd file. I am able to login the new server just fine as root with the new passwd.
Still lost....but thanks so far for everyone's ideas....points will follow when this is solved or ideas are exusted.
Thanks,
Brent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 08:58 AM
06-22-2001 08:58 AM
Re: rcp working fine until /etc/passed file copied over
Did you reboot the system since doing this?
I've done it before with no pb on a 700 series when sam chewed up my passwd and group file... no problem, only difference was I didn't use rcp, I used ftp.
With copy there is a -p to preserve sam file properties... with rcp I'm not sure.. but you seem to have corrected all permission problems.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 09:02 AM
06-22-2001 09:02 AM
Re: rcp working fine until /etc/passed file copied over
Taking a step back:-
You said in your question "servers" :-
Is this the first server that you have done this on?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 09:09 AM
06-22-2001 09:09 AM
SolutionIn case you are able to login with a passwd then there is a problem.
1. Try doing from the other machine to this machine.
2. Change in .rhosts file the name and user to IP adress and User name , in both the machines.
I hope the user name is root only.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 09:16 AM
06-22-2001 09:16 AM
Re: rcp working fine until /etc/passed file copied over
Bill: yes I used the -p when using rcp
I can rlogin from old server to new server but it does prompt me for the password...it works. However, I can not remsh from old to new server. However, I can remsh from old to other new servers that have not been updated with new /etc/passwd, /etc/group, and /etc/logingroup files.
In my opinion...it has to be something on the 'new' server that is not correct or has changed with the addition of the /etc/passwd file...
Brent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2001 09:23 AM
06-22-2001 09:23 AM
Re: rcp working fine until /etc/passed file copied over
Manoj- I added the ip address of old server in new server .rhost file and it now works...bit confused on why this had to be added after /etc/passwd was copied over...?
THANK YOU TO ALL WHO HELPED SOLVE MY FRUSTRATING PROBLEM!!!!!!!!!!!!