Search Results

Search: Posts Made By: csg_user
Forum: Solaris 12-15-2007
43,152
Posted By csg_user
The script(script1) will recycle our application...
The script(script1) will recycle our application services. This script could only be executed as the application user . So, We run this script manually by sudo su - appl_user , then password , then...
Forum: Solaris 12-15-2007
43,152
Posted By csg_user
Hi Thanks. Will running the script under...
Hi Thanks.

Will running the script under root resolve the problem?

Regards,
csg_user.
Forum: Solaris 12-15-2007
43,152
Posted By csg_user
Hi Porter, Thanks. I tried running the...
Hi Porter,

Thanks. I tried running the script under that user's cron . But, it is not working . Am i missing something here?

Thanks.
Forum: Solaris 12-15-2007
43,152
Posted By csg_user
Hi Prowla, Thanks for your reply . ...
Hi Prowla,
Thanks for your reply .



My cron will have :
0,15,30,45 * * * * /opt/myfolder/myscriptname. I will use the same under root's cron .But,Where should i use the "su - user -c...
Forum: Solaris 12-14-2007
43,152
Posted By csg_user
How to run a script as different user inside cronjob in solaris.
Hi ,

I have a shell script to perform some actions on sun solaris box . This script normally requires to be run as a different user. so, whenever i have to run this script, i need to sudo in as...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy