Re: best practises for avoiding to write passwords in shell scripts (example sqlplus from Oracle)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Sven Aluoor wrote:
> Hi folks
>
> I have here a CentOS box where i need to setup cronjob (with session
> to remote Oracle instance). On the remote DB i have no access, expect
> limited user.
>
> How to avoid putting passwords in shell scripts?
>
> The solution doesn't need to be perfect, only better than plain text
> passwords in scripts.
> Mostly remote host only support password authentication (no
> certificates and so on).
>   

postgresql supports a .pgpasswd file in the users home directory thats 
permission 600, so only the owner can access it.    
Maybe Oracle has something similar?


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux