in reply to sourcing out my script

Sure it can be done, but how depends on which database you're setting them up for, and what user is to run this. Have you tried anything yet?

For a first cut, look at how you do this by hand and try to reproduce those steps.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: sourcing out my script
by hansonr (Initiate) on Mar 10, 2005 at 16:09 UTC
    I have done exactly as you have mentioned, by hand. So, in my perl script I get the new user added just fine, and the password complete. Now, I need to su - dba which, within the perl script I can do but once I am in as dba, I do an ls or pwd and nothing comes back, no commands execute.