The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Change user on remote machine and execute script!
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Change user on remote machine and execute script!
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
10-24-2008
gfca
Registered User
Join Date: Jun 2008
Posts: 31
Hi,
you can run "ssh primUser@135.254.242.2 "su - user -c command_to_run"
hope this will help
gfca
View Public Profile
Find all posts by gfca
Find gfca's past nominations received
Find gfca's present nominations given