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 -->
#
3
(
permalink
)
09-01-2008
vbe
Moderator
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,578
So configure (or install...) sudo on your remote host so that the script is executed by primUser as root...
vbe
View Public Profile
Find all posts by vbe
Find vbe's past nominations received
Find vbe's present nominations given