Re: How to add rocommunity public without using conf-files
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Mon, 20 Sep 2010 10:14:37 +0200, "Sebastian Fabig" <[email protected]> said: SF> What do I have to do to get rid of the conf-file? Right now I only SF> need it to set the rocommunity public. If it is not possible to set SF> it without a conf-file, is there at least a possibility to disable SF> the creation of other other-files (e.g. I found some in the folder SF> usr\bin)? You can force the read-config system to "pretend" to read a string by calling netsnmp_config("rocommunity public"). However, the world learned a long time ago that hard coding community/access routines like "public" is a very very bad thing to do. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users