Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

RCP from SCO to XP with password

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> RCP from SCO to XP with password Page: [1]
Login
Message << Older Topic   Newer Topic >>
RCP from SCO to XP with password - Sep. 3, '05, 9:03:15 PM   
philmartin

 

Posts: 1
Joined: Sep. 3, '05,
Status: offline
Native Windows XP rcp.exe does not have a password prompt as far as I can see. I require a rcp.exe to copy a file from Sco to my XP pc. I did have this program that was part Sun pcnfs (V5.0) a few years ago.

I need to run a scheduled batch job each night from a command line being.

rcp.exe 192.168.5.33 -user root -pass house55 /tmp/backup c:\temp\backup

(assuming house55 is the password for root)
(/tmp/backup is the file I need to copy to c:\temp)

Can anyone help as I do not want to install any software on this Xp machine.

Thks
Post #: 1
RE: RCP from SCO to XP with password - Sep. 3, '05, 11:22:47 PM   
Rodney

 

Posts: 3696
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Well, I wouldn't be using the "root" account to do this.
That's just asking for a security problem to happen.
I'd set up another special account to do this if possible.
If that's not possible then set up a cron job with the root account to make the
backup file and then assign file permissions to the lower privileged account.

Then for the lower privilged account I'd set the "~/.rhosts" account to allow
access from the said windows machine. Then no password will be needed at all.
Yes, the "~/.rhosts" file affects rcp as well as rsh & rlogin.

(Note: I'm not really supporting this methodology, just providing a solution within
the parameters given. My preference is something more secure even when it does involve
installing software. And I would encourage you to so as well.)

(in reply to philmartin)
Post #: 2
Page:   [1]
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> RCP from SCO to XP with password Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031