[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hide the commabd executed from ps,who



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...

Couldn't you put the password in a variable? Would the real value show
up, or just the variable name?

#! /bin/sh
MY_PASS=Xhef#&8wertyqP[,

exec mysql [args] $MY_PASS


-- 
¶ One·should·only·use·the·ASCII·character­set·when·compos­

» ing·email·messages.




Reply to: