Nagios password in resource.cfg
in resource.cfg i'm storing the p开发者_JS百科assword for mysql nagios user. How can I encrypt the password in resource.cfg ?
You can't, that is why your resource.cfg file should have permissions settings that make it unreadable by anyone except by your nagios user.
Why are you storing the password in there? You shouldn't have to unless you're doing something unique.
精彩评论