Article View: comp.security.unix
Article #186SQL security shells
From: Laurent Deperthes
Date: Thu, 02 Oct 1997 00:00
Date: Thu, 02 Oct 1997 00:00
55 lines
1839 bytes
1839 bytes
--------------B44E9569FA87802F53D5BA03
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
how to create a shell script csh tcsh .. for creating a call to sql
request
eg
#!/bin/csh
sqlplus user/pass @script.sql
the problem is that all users see the user ans the pass also in ps
-eaf and w commands
shells must have r-x protection to start so you see all of these
informations ..
thanks for answers ...
mailto:Laurent.Deperthes@renault.com
--------------B44E9569FA87802F53D5BA03
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Hello,
<P>how to create a shell script csh tcsh .. for creating a call to sql
request
<BR>eg
<P>#!/bin/csh
<BR>sqlplus user/pass @script.sql
<P>the problem is that all users see the user ans the pass also in
ps -eaf and w commands
<P>shells must have r-x protection to start so you see all of these informations
..
<BR>
<PRE>thanks for answers ...</PRE>
<PRE>
<A HREF="mailto:Laurent.Deperthes@renault.com">mailto:Laurent.Deperthes@renault.com</A></PRE>
</HTML>
--------------B44E9569FA87802F53D5BA03--
Technical Details
Message-ID:
<3433502A.8BB472BA@pline.ava.tcr.renault.fr>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,7a50d346c65d2139,start X-Google-Attributes: gid10952f,public X-Google-Thread: 1012a6,7a50d346c65d2139,start X-Google-Attributes: gid1012a6,public X-Google-Thread: 110f2c,7a50d346c65d2139,start X-Google-Attributes: gid110f2c,public From: Laurent Deperthes <depertla@pline.ava.tcr.renault.fr> Subject: SQL security shells Date: 1997/10/02 Message-ID: <3433502A.8BB472BA@pline.ava.tcr.renault.fr> X-Deja-AN: 278670079 Reply-To: Laurent.Deperthes@renault.com Organization: Renault SA Newsgroups: comp.security.unix,comp.unix.shell,fr.comp.os.unix