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.<br><br><br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 11:44 AM, Jason Dixon <span dir="ltr">&lt;<a href="mailto:jason@dixongroup.net">jason@dixongroup.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, Mar 25, 2009 at 08:41:27AM -0700, Rod Clayton wrote:<br>
&gt;<br>
&gt; 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.<br>

&gt;<br>
&gt; Is there a better way to handle This?<br>
<br>
Chown it to a secure user with 700 perms.  Give them sudo rights only to run the<br>
script as that user.<br>
<br>
--<br>
Jason Dixon<br>
DixonGroup Consulting<br>
<a href="http://www.dixongroup.net/" target="_blank">http://www.dixongroup.net/</a><br>
<br>
_______________________________________________<br>
CALUG mailing list<br>
<a href="mailto:CALUG@unknownlamer.org">CALUG@unknownlamer.org</a><br>
<a href="http://lists.unknownlamer.org/listinfo/calug" target="_blank">http://lists.unknownlamer.org/listinfo/calug</a><br>
</blockquote></div><br>