I've made a shellscript which I run as root...

Everything works BUT i receive theese 2 error messages
when running orawpd command to create a passwordfile.


In the script I su to user oracle and then execute orapwd..

------------------------------------------------------------------
Scenario one:

su oracle -c "$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwSID password=***** "

Error message:
Unable to find error file

------------------------------------------------------------------
Scenario two:

su - oracle -c "$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwSID password=***** "

Sun Microsystems Inc. SunOS 5.8 Generic February 2000
stty: : Inappropriate ioctl for device
------------------------------------------------------------------

Any clues??

Anyhow my script creates a working password file...