SUMMARY: Scripting problem with rhost

From: Klas Erlandsson <Klas.Erlandsson_at_europolitan.se>
Date: Mon, 25 Sep 2000 18:53:12 +0200

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_at_hostB.
>The problem is that i don't want to put all the users in ftp_users_at_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
Received on Mon Sep 25 2000 - 16:54:16 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT