su - <user > -c <command > permission problem.

From: <DYadav_at_docklands.vic.gov.au>
Date: Fri, 21 Dec 2001 10:04:50 +1100

>Hi wizkids,
> I want to add a scripts for Oracle Application and
Database
>on system (Tru64 , 5.1) shutdown/startup.
>These scripts works fine when I login to system as designated <oracle
>application user > user with no error.
>But when I added following line in script at /sbin/init.d/oraprod file
 
>( this is my linked file for statup & shutdown )
> su - <oracle user> -c <script path>
> they do not execute properly giving some permission error at certain
>part of the script.
>Can anyone help getting away with this error and why it is doing so ....
>
>thnx n adv.
>
>
>PS: Apologies for added image ....no my fault.
>
>regards,
>
>Dharmendra Yadav
>---------------------------------------------------------------------------------
>Oracle Database Administrator/Business Analyst
>MELBOURNE DOCKLANDS AUTHORITY
>Phone : +61 3 9628 4420 Mobile : +61 412 456 477
Received on Thu Dec 20 2001 - 23:05:54 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT