The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SSH problems ysk UNIX for Advanced & Expert Users 1 07-19-2007 05:16 AM
Problems AIX and SAN. fjgonzalez AIX 4 07-18-2007 05:15 PM
Problems with Last By_Jam UNIX for Advanced & Expert Users 3 09-29-2006 03:12 AM
Few problems vivekshankar UNIX for Dummies Questions & Answers 3 05-21-2005 12:26 PM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 10:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-19-2001
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Question rcp problems

I am having problems with rcp on one particular machine that I have at work.

I can rcp from any host to any other host except this one box.

I get the following error message.

rcp daily_maint remote1:/root/daily_maint
remshd: Password for this account expired.

I get this error when rcp'ing to this box or from this box.

Any help would be appreciated.
  #2 (permalink)  
Old 10-19-2001
guest100's Avatar
guest100 guest100 is offline
Banned
  
 

Join Date: Oct 2001
Location: London, UK
Posts: 146
Have a look at the following notes:

rcp is meant to copy between different hosts; attempting to
rcp a file onto itself, as with:

rcp tmp/file myhost:/tmp/file

results in a severely corrupted file.

rcp may not correctly fail when the target of a copy is a
file instead of a directory.

rcp can become confused by output generated by commands in
a $HOME/.profile on the remote host.

rcp requires that the source host have permission to exe-
cute commands on the remote host when doing third-party
copies.

rcp does not properly handle symbolic links. Use tar (see
tar(1)) or cpio (see cpio(1)) piped to rsh to obtain
remote copies of directories containing symbolic links or
named pipes.

If you forget to quote metacharacters intended for the
remote host, you will get an incomprehensible error message.

rcp will fail if you copy ACLs to a file system that does
not support ACLs.

Also do a :
<pre>
ps -ef|grep remshd // to see if anything like this is running
more /etc/passwd // to see if there is any account like remshd
cd /root/daily_maint //check that directory or file.

</pre>
  #3 (permalink)  
Old 10-19-2001
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
rcp problems

I think that it is a problem with this particular box. When I do a type rcp, the response comes back with /bin/rcp. All of my other boxes have it in /usr/bin/rcp.

Also, I can rcp the file in question to any other box except this box. I have check the file permissions and directory parms as well. Everything looks to be okay.

I do have an .rhosts file setup. I have tried to use the full path of the exe /usr/bin/rcp from both directions, a remote box and from the box in question as well. I still get the same reply.

remshd: Password for this account expired.

I will continue to check the remshd angle.
  #4 (permalink)  
Old 10-19-2001
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Lightbulb rcp problems

I think that I got fixed.

It was a problem with access between the two boxes. I tried to rlogin back and forth between the boxes. I could go from the box with rcp problems back to my other box with no problems. But I could not rlogin from the latter box into the former box.

When I tried to rlogin it asked me to change the password. So, I did. Now it works!!

Weird problem.

:-)
  #5 (permalink)  
Old 10-19-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,656
Thanks for updating on the solution. Sometimes the little, hidden things are more important than the big things. Well... now that I think about it.... the little things that we can't explain make life so interested.

My sincere thanks to everyone who takes the time to post the solutions to their problems and not just the problems !
Sponsored Links
Closed Thread

Bookmarks

Tags
cpio

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0