Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

RE: RE: RE: RE: RE: Password request on RCP?

by ncw (Friar)
on Sep 01, 2000 at 23:35 UTC ( [id://30793]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: RE: RE: Password request on RCP?
in thread Password request on RCP?

That looks fine now!

I can only think of one thing - are you su-ing to root maybe to run this test program? Maybe the fact that your stored and effective uid are different causes problems when you run rsh from perl (which is starting another shell to do it?). Therefore rsh thinks you are someone else and asks you for the password.

You could try my suggestion of running the system() with an array of things in so as not to invoke another shell - this might help. Then again it might be perl doing it...

I always use scp/ssh for this sort of thing and I've never had a problem with it like that. You might need to put a -n on the rsh command line if you run it from a crontab though.

  • Comment on RE: RE: RE: RE: RE: Password request on RCP?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://30793]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-24 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found