From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96990069017710.tru64-unix-managers.marc@archive.invalid> From: Klas Erlandsson Date: Mon, 25 Sep 2000 16:53:12 +0000 To: tru64-unix-managers Subject: SUMMARY: Scripting problem with rhost X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96990069017710 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