The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Automated FTP wakhan Shell Programming and Scripting 4 07-08-2008 01:53 PM
automated ftp. sangfroid Shell Programming and Scripting 10 05-07-2007 12:52 PM
Automated FTP shauche UNIX for Advanced & Expert Users 11 07-11-2002 03:08 AM
FTP automated? n9ninchd UNIX for Dummies Questions & Answers 6 05-18-2001 11:21 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-21-2008
jshapaka jshapaka is offline
Registered User
  
 

Join Date: Nov 2008
Location: Texas
Posts: 5
Automated Login?

hi everyone,

btw, this is my first post and I have done extensive searching before posting so here's the problem:

I need to be able to do two things from the dll I'm writing.
1.) move a file from our production server to our repository server
2.) verify that the file exists in the repository server.

The second thing isn't an issue and is already written and will be executed in a ksh script.

The first thing is not a problem and can be accomplished with a remote copy: rcp -r -p test.pdf drawlist@pdm-svr:/home/files/poa102. The user drawlist has been set up with permission to access the pdm-svr. This command works for one of the network guys down stairs, but for my user it does not. It tells me 'Permission is denied'. If I rlogin as drawlist and execute rcp -r -p test.pdf pdm-svr:/home/files/poa102 it obviously works.


So my question is two-fold:
  • What is preventing my rcp command (when prefacing the repository with the user) from working?
  • Would it be easier to login as the drawlist user and execute the command, and if so how could I automate the password verification? If rhosts is the answer, is there any other command/way to have an automated login?
Thanks,

Josh
 

Bookmarks

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 07:48 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