|
RCP from SCO to XP with password
|
|
2005-09-03, 05:03 PM
Post: #1
|
|||
|
|||
|
RCP from SCO to XP with password
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 |
|||
|
2005-09-03, 07:22 PM
Post: #2
|
|||
|
|||
|
RE: RCP from SCO to XP with password
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.) |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


Search
Member List
Calendar
Help



