Best practices for holding passwords in shell / Perl scripts?

前端 未结 13 1554
逝去的感伤
逝去的感伤 2021-02-08 02:19

I\'ve recently had to dust off my Perl and shell script skills to help out some colleagues. The colleagues in question have been tasked with providing some reports from an inter

13条回答
  •  我寻月下人不归
    2021-02-08 02:37

    Best practice, IMHO, would be to NOT hold any passwords in a shell / Perl script. That is what public key authentication is for.

提交回复
热议问题