[CALUG] Putting a Oracle User ID and Password in the Perl Script.

William Kupersanin 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
> http://www.dixongroup.net/
> _______________________________________________
> CALUG mailing list
> CALUG at unknownlamer.org
> http://lists.unknownlamer.org/listinfo/calug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unknownlamer.org/pipermail/calug/attachments/20090325/20f14c1a/attachment.htm 

More information about the CALUG mailing list