tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Scripting problem with rhost
@ 2000-09-25 16:53 Klas Erlandsson
  0 siblings, 0 replies; only message in thread
From: Klas Erlandsson @ 2000-09-25 16:53 UTC (permalink / raw)
  To: tru64-unix-managers

Hin!

My question:
>I have a little problem I hope someone can help me with.
>I have a script that will be executed by several different users on hostA.
>The script do som rcp and ftp to a hostB.  The script do the rcp and ftp as
ftp_user@hostB.
>The problem is that i don't want to put all the users in ftp_users@hostB
.rhost, beacuse the users may change.
>I want a script that can be executed by different users but when they
execute the script the script will perform all commands as a specifik user.
>I have played aroud with "chmod 4xxx" but without success.

There were a few answers and most of them pointed at sudo, that's what i
feared.

And to everybody that answerd, thanks!

Regards Klas

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-25 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-25 16:53 SUMMARY: Scripting problem with rhost Klas Erlandsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox