D
Dmitry
Hi folks!
I need to find a way to switch to a different Unix user from within
the Perl script that is currently ran unattended. Script must switch
user in order to execute proper profile for different Data Base
Instance and set corresponding environmental variables correctly.
Script works fine for a single Data Base Instance. I need to be able
to run it consecutively for several others instances. This requires
login in as a different Instance Owner.
I don't have (and don't need to have!) root privileges to run the
script. How can I switch to a different user without having script
prompting me for entering password? I have all login credentials so I
just need to switch user by supplying username and password.
Any help would be greatly appreciated.
Thanks!
D.
I need to find a way to switch to a different Unix user from within
the Perl script that is currently ran unattended. Script must switch
user in order to execute proper profile for different Data Base
Instance and set corresponding environmental variables correctly.
Script works fine for a single Data Base Instance. I need to be able
to run it consecutively for several others instances. This requires
login in as a different Instance Owner.
I don't have (and don't need to have!) root privileges to run the
script. How can I switch to a different user without having script
prompting me for entering password? I have all login credentials so I
just need to switch user by supplying username and password.
Any help would be greatly appreciated.
Thanks!
D.