Most of the time it would be better to go manually and do the grant to avoid the security breaches. One of the way you could do it is write a shell script that would first set the env to point to the database and connect as internal and then run the grant and other DDL commands that you want and exit.
Sam




Reply With Quote