[plug] `Expect` and `cron` <http://expect.nist.gov>

Russell Steicke r.steicke at bom.gov.au
Thu Jan 6 11:10:13 WST 2005


On Thu, Jan 06, 2005 at 10:46:56AM +0800, Jason Belcher wrote:
...
> mysql ... -p[password] < file_with_sql_commands ?
> 
> Completely unsecure if other people can read your crontab and
> therefore see your password, but a possible alternative otherwise?

Others reading your crontab isn't a problem as
/var/spool/cron/crontabs (or the equivalent place on your system)
should be well protected.  The real problem is people doing ps while
your mysql job is running and reading the password there.



-- 
Russell Steicke

-- Fortune says:
Remember:  Silly is a state of Mind, Stupid is a way of Life.
-- Dave Butler



More information about the plug mailing list