In testDBConn.pl:
For this to work getPwd.pl will need to return a true value. That's as simple as putting 1; as the last line in the script.# assuming getPwd.pl is in @INC require 'getPwd.pl'; $password = getOraPwd();
You might also consider creating a module and use'ing that. This might be helpful in such a venture: José's Guide for creating Perl modules
In reply to Re: Calling a setuid script in a perl script
by chilledham
in thread Perl Setuid - Oracle Password Hardcoding
by hmadhi
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |