in reply to Re: exec, echo and pipe
in thread exec, echo and pipe
I would simply pass it via the environment
Both command line and environment can be read by other users on the system (using tools like ps, pstree, top), so both are not the best place to pass a password around. Passing the password through a pipe prevents that.
Alexander
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: exec, echo and pipe
by morgon (Priest) on Apr 03, 2016 at 01:44 UTC | |
by afoken (Chancellor) on Apr 04, 2016 at 20:06 UTC |