[CALUG] Putting a Oracle User ID and Password in the Perl Script.
wkupersa at gmail.com
Wed Mar 25 12:37:47 EDT 2009
How about creating a limited user account. Put the password in a file owned
and readable only by that account, and then making the Perl script setuid to
that user, and have it read from the file.
On Wed, Mar 25, 2009 at 11:44 AM, Jason Dixon <jason at dixongroup.net> wrote:
> On Wed, Mar 25, 2009 at 08:41:27AM -0700, Rod Clayton wrote:
> > I have a perl script that I would like people to be able to run but not
> read. It has an Oracle user ID and a password in the script. I have tried
> making it execute only, but then they get a permission denied when they try
> to run the script.
> > Is there a better way to handle This?
> Chown it to a secure user with 700 perms. Give them sudo rights only to
> run the
> script as that user.
> Jason Dixon
> DixonGroup Consulting
> CALUG mailing list
> CALUG at unknownlamer.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CALUG