Hi,

I installed OracleAS on Solaris 10 as 'oracle' user.
There is one shelscipt in '/oraas/home/OraHome_mid/bin' directory
ie; frmcmp.sh

I need to give execute this scrpt as another user 'u1'.

Both 'oracle' and 'u1' belongs to oinstall group.

I did the following steps:

#chmod 750 /oraas/home/OraHome_mid/bin 
#chmod 750 /oraas/home/OraHome_mid/bin/frmcmp.sh

Then I logged in as u1,
exeuted 

#!/bin/sh
export ORACLE_HOME=/oraas/home/OraHome_mid
PATH=/usr/bin:/usr/ucb:/etc:.
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$PATH
export ORACLE_SID=orcl

$ sh frmcmp.sh

frmcmp.sh: frmcmp.sh: cannot open

Please help me to solve this.

Regards,
Mat. 

Reply via email to