Hi,
I have a script that makes a connection via ssh and does some work. This script is very successful if it is run by a "standard user" who has the ssh keys set up in their home directory so the ssh does not require them to enter a password.
My problem is now that I'm trying to enable this script to be used from another user who cannot ssh. What I want to do is set it so this other user can use a command like this:
"sudo -u <standard user> script_name"
I have the sudoers set up so this user can use sudo on this script without a password.
My problem is that I can't get the ssh working.
Can anyone offer some advice?
Thanks
M
--------------------------------------
My doctor says that I have a malformed public-duty gland and that I am therefore excused from saving universes.
I have a script that makes a connection via ssh and does some work. This script is very successful if it is run by a "standard user" who has the ssh keys set up in their home directory so the ssh does not require them to enter a password.
My problem is now that I'm trying to enable this script to be used from another user who cannot ssh. What I want to do is set it so this other user can use a command like this:
"sudo -u <standard user> script_name"
I have the sudoers set up so this user can use sudo on this script without a password.
My problem is that I can't get the ssh working.
Can anyone offer some advice?
Thanks
M
--------------------------------------
My doctor says that I have a malformed public-duty gland and that I am therefore excused from saving universes.