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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running a Script in a Remote server ZeroGPX Shell Programming and Scripting 2 03-07-2008 04:07 PM
Running an informix query on remote server sureshg_sampat Shell Programming and Scripting 2 10-09-2007 12:20 AM
Script to check running processes on remote server. amitsayshii Shell Programming and Scripting 5 10-06-2006 12:43 AM
Running a remote Server through perl script chandrak Shell Programming and Scripting 0 02-12-2006 08:25 PM
Running shell scripts on a remote server pepintheshort UNIX for Dummies Questions & Answers 2 07-22-2003 01:20 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-19-2005
Registered User
 

Join Date: Jun 2005
Posts: 9
Stumble this Post!
running a script on remote server.

I need to run a script on a remote server from my ksh script. The issue I'm having is that I need to logon to the remote server as a different user. (see the following)

logged on to server 1 as adsmgr
neet to log on to server 2 as odemgr run passwd_util.ksh


Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-20-2005
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,091
Stumble this Post!
Use an r-command (rexec, rsh, ...) either with or without kerberos or use a securefied command (ssh) to achieve the same. Either way it will have to be configured on both machines before use.

bakunin
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0