On Wed, May 17, 2000 at 10:25:19PM -0400, David Z Maze wrote:
> Eric G Miller <egm2@jps.net> writes:
> EGM> On Thu, May 18, 2000 at 12:57:18AM +0800, 50191914@uxmail.cityu.edu.hk wrote:
> >> But for example,what if I want to write a shell script which will login
> >> to the remote server automatically?e.g..for some cgi...etc...
> EGM>
> EGM> Couldn't you put the password in a variable? Would the real value show
> EGM> up, or just the variable name?
> EGM>
> EGM> #! /bin/sh
> EGM> MY_PASS=Xhef#&8wertyqP[,
> EGM>
> EGM> exec mysql [args] $MY_PASS
>
> The real password would show up.
...and: /proc/$PID/environ, readable by user and root.
--
Karsten M. Self <kmself@ix.netcom.com> http://www.netcom.com/~kmself
What part of "Gestalt" don't you understand? Debian GNU/Linux rocks!
http://gestalt-system.sourceforge.net/ Rusty? http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
Attachment:
pgpdexxD9DWPV.pgp
Description: PGP signature