bug-parallel
[Top][All Lists]
Advanced

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

Re: GNU Parallel Bug Reports unmasked passwd with mysql in parallel


From: Ole Tange
Subject: Re: GNU Parallel Bug Reports unmasked passwd with mysql in parallel
Date: Sat, 23 Nov 2013 01:07:10 +0100

On Fri, Nov 22, 2013 at 4:59 PM, Hal Ebi <address@hidden> wrote:

> My problem is that when I list the running
> processes initiated by parallel (e.g. with ps or top), "parallel shows" the
> commands as they are run without masking the password for the mysql user.

GNU Parallel does not have an option for hiding information given on
the command line.

> An example:
> when I run mysql or mysqldump alone (not from parallel) the password is
> always masked out.

Instead of mysql run GNU sql and put the password as urls in
~/.sql/aliases. GNU sql is shipped with GNU Parallel.

I am not sure how mysqldump works, but if it is a wrapper for the
mysql command line, you might be able to use the same technique.

> Is there a way to make parallel to pass the passwords on silently to mysql?

There is also .my.cnf which ought to work if everything else fails.

/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]