http://www.perlmonks.org?node_id=1159392


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

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)