[Ilugc] su login problem

Binand Sethumadhavan binand at gmail.com
Fri Jun 23 14:28:06 IST 2006


On 23/06/06, Easwaran .K.V <kveaswaran.ilugc at gmail.com> wrote:
> I have a script say abc.sh which needs to use su in the following manner
>
> su - user1 -c myscript.sh
>
> that is abc.sh is a cron job executes myscript.sh as a different user.

Just a side note, what is stopping you from running abc.sh as a
cronjob from user1's account instead of from root's?

Binand


More information about the ilugc mailing list