From: rvaedex23 on

I have a script that is set up using ID: infa123


The script will scp files from one machine to another and only
infa123 can write to the directories.


The public key is set up so that the password is not prompted
during the scp.


I need to have a user execute this script but they would have to
use their own ID like bobjones


If the user executes the script they will get permission denied
when writting to the directories.
Also, they are not set up to use the public key to bypass the
password. Any hints.


From: Bill Marcum on
On 2008-05-07, rvaedex23(a)gmail.com <rvaedex23(a)gmail.com> wrote:
>
> I have a script that is set up using ID: infa123
>
> The script will scp files from one machine to another and only
> infa123 can write to the directories.
>
> The public key is set up so that the password is not prompted
> during the scp.
>
> I need to have a user execute this script but they would have to
> use their own ID like bobjones
>
> If the user executes the script they will get permission denied
> when writting to the directories.
> Also, they are not set up to use the public key to bypass the
> password. Any hints.
>
(a) let bobjones upload to his home directory and then use crontab to
transfer the files to the other directory.
(b) make bobjones a member of a group that has permission to write the
other directories
(c) sudo