su'ing in a UNIX script

su'ing in a UNIX script

 

  

Hi,

I need to pass the Password to the superuser command as follows:

su - superuser_id

As is, the above when executed from the command line expects after the string "Password:" on the next line.

I can not get root privileges.

Thanks.
Jay



Oracle LazyDBA home page