[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chained command prints password in Clear Text and breaks BASH Sessio
From: |
Greg Wooledge |
Subject: |
Re: Chained command prints password in Clear Text and breaks BASH Session until logout |
Date: |
Thu, 11 Jul 2013 13:32:05 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Jul 10, 2013 at 02:54:17PM -0700, Jason Sipula wrote:
> ~]# mysqldump -u someuser -p somedb | mysql -u someuser -p -D someotherdb
This isn't a bash issue. Mysql is prompting for a password, either
on standard input or by directly opening /dev/tty. In either case,
the issue is with mysql. Once the pipeline has been constructed and
the two mysql processes have been executed, bash is no longer involved
at all.
Re: Chained command prints password in Clear Text and breaks BASH Session until logout, Chris Down, 2013/07/11