From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622062.tru64-unix-managers.marc@archive.invalid> From: "Gillon, Ian" Date: Mon, 04 Feb 2002 14:55:19 +0000 To: tru64-unix-managers Subject: RSH X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622062 Hi. > What I'm trying to do is this: > > I have a script which is owned by a 'normal' user except that the user is > a member of the dba group. This script in turn calls another script, owned > by oracle with the sticky bit set for the group. From this second script I > want to RSH to another host as the oracle user without supplying a > password. > > However, if I don't use the -l switch, RSH logs on as the 'normal' > user, if I do use the -l switch I get asked for a password. I have > entries in the .rhosts file for the oracle user, but still get prompted > for a password. > > I realise this is not a secure solution, but I don't mind for the purposes > of this. Do you know how I can do this? > > cheers, > > Ian > ********************************************************************** Legal Disclaimer : This e-mail is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the sender by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail. The opinions expressed in this message are those of the sender and not those of TelesensKSCL. This footnote also confirms that this e-mail has been swept by MIMEsweeper for the presence of computer viruses. Please note that TelesensKSCL monitors both incoming and outgoing emails in accordance with our email policy. **********************************************************************