Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: RE: Hiding passwords

Re: RE: Hiding passwords

From: Nuno Pinto do Souto <nsouto_at_optusnet.com.au>
Date: Thu, 02 Oct 2003 18:44:31 -0800
Message-ID: <F001.005D1DA9.20031002184431@fatcity.com>

 ('binary' encoding is not supported, stored as-is)

> Bob Metelsky <bmetelsky_at_cps92.com> wrote:
> That's very interesting... Thank you. Do you know how that can be set
> in
> an env variable? Or how the hidden variable can be passed around?
> Eg
> C:\ads>set var=<file.txt:pwd
> Or
> C:\ads>set var=more<file.txt:pwd
> Echo %var%
> C:\ads> echo is on
> ???

This works in XP Pro, dunno about older versions:

Y:\>echo password >file.txt:pwd
Y:\>type file.txt
Y:\>more <file.txt:pwd

password
Y:\>more <file.txt:pwd >zot.txt
Y:\>type zot.txt
password
Y:\>for /F "usebackq" %i in (`type zot.txt`) do @set zot=%i
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

<how about this one, eh? Unix shell, eat your heart out! :)> Y:\>set
yaddayaddayadda.......
windir=C:\WINDOWS
ZOT=password
Y:>del zot.txt

Assuming you do this within "setlocal", you should be fine. HTH
Cheers
Nuno Souto
nsouto_at_wizofoz2k.com.au

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Nuno Pinto do Souto
  INET: nsouto_at_optusnet.com.au

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Oct 02 2003 - 21:44:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US