[Nagiosplug-devel] Re: [Netsaintplug-devel] patch for plugins/check_mysql to read pass from environ
Subhendu Ghosh
sghosh at sghosh.org
Sun May 26 08:16:02 CEST 2002
On Sat, 25 May 2002, Catalin Mitrofan wrote:
>
> hi! i though this might help..
>
> > if(strcmp(db_pass,"")==0) {
> > char * p123=getenv("MySQL_PASS");
> > if(p123)
> > db_pass=p123;
> > }
> >
Hi
I was wondering whether this might not be better achieved through the
resource.cfg $USER$ macros. They are designed - not to be visible from
the cgis..
-sg
More information about the Devel
mailing list