Operating System - HP-UX
1761384 Members
2615 Online
108901 Solutions
New Discussion

Re: how to store passwd in shell scripts

 
SOLVED
Go to solution
Steven Sim Kok Leong
Honored Contributor

Re: how to store passwd in shell scripts

Hi,

My personal preference for the solution is using scp with public key trust setup. But just to add on to above ideas and thinking out of the box, there is also shc (shell compiler) you can use to obfuscate cleartext to a certain extent. the downside is that it reduces efficiency of the script because the generated binary file is much larger.

shc is primarily for those shell script writers who want to "hide" their code.

Hope this helps. Regards.

Steven Sim Kok Leong