-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 09 February 2004 8:04 pm, Daniel J McDonald wrote: > We have a requirement that every box have an individual community > string. Right now I store the community strings in a database and > generate a script with new configmaker commands. > But, it would be nice to be able to grab the string from the database on > the fly without having to run cfgmaker. This would have the added > benefit of not placing the community strings in plain text in a text > file. > > Has anyone attempted such a beast before? If I were to devise a way to > do it, would anyone else want it? Can anyone fathom a syntax that could > be used to signify a "dynamic" string instead of a "static" string? > > I imagine it will be pretty simple to just intercept the string in the > target parsing section and do a few DB calls... But I'd hate to > re-invent the wheel.
That way you will store the DB user/pass somewhere in plain text, thus someone will look up the strings in the database. Better to the access to the filesystem as tight as possible, and for involved admins only. Regards Mohamed Eldesoky -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAKKOP2FHsOWMJBKMRAnyqAJ9TXUg9rYuvyU7nlJsxYpKtUlLXuACgr3KW AXknVCHs8QyD9bTP/KuR86E= =dw5b -----END PGP SIGNATURE----- -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
