Article View: comp.security.unix
Article #184Re: SQL security shells
From: Eric Grancher
Date: Mon, 06 Oct 1997 00:00
Date: Mon, 06 Oct 1997 00:00
25 lines
1505 bytes
1505 bytes
On Thu, 2 Oct 1997, Laurent Deperthes wrote: > how to create a shell script csh tcsh .. for creating a call to sql request > #!/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 if you want to use sqlplus, the problem can be solved using a "herescript" #!/bin/sh sqlplus << EOF user/pass select * from dual; exit; EOF With other Oracle tools (like the ones running with an X interface), you may have to use the classical trick : build a command line like following one : f45runm module=a.fmx (500 spaces) userid=user/pass cheers, eric
Technical Details
Message-ID:
<Pine.HPP.3.95a.971006153800.23393A-100000@hpdb02.cern.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3433502A.8BB472BA@pline.ava.tcr.renault.fr>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,7a50d346c65d2139 X-Google-Attributes: gid10952f,public X-Google-Thread: 1012a6,7a50d346c65d2139 X-Google-Attributes: gid1012a6,public X-Google-Thread: 110f2c,7a50d346c65d2139 X-Google-Attributes: gid110f2c,public From: Eric Grancher <grancher@mail.cern.ch> Subject: Re: SQL security shells Date: 1997/10/06 Message-ID: <Pine.HPP.3.95a.971006153800.23393A-100000@hpdb02.cern.ch> X-Deja-AN: 278246135 Sender: news@news.cern.ch (USENET News System) X-Nntp-Posting-Host: hpdb02.cern.ch References: <3433502A.8BB472BA@pline.ava.tcr.renault.fr> To: Laurent.Deperthes@renault.com X-Sender: grancher@hpdb02.cern.ch Organization: CERN European Lab for Particle Physics Reply-To: Eric Grancher <grancher@mail.cern.ch> Newsgroups: comp.security.unix,comp.unix.shell,fr.comp.os.unix