Re: Avoid pressing 'Enter' when compiling net-snmp

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGYAEJaEHx9QLf7dQWE6Eki1PB_9JTDBg9CxYW960EXvfA@mail.gmail.com>
On 20 July 2011 09:12, Naama Bar Menachem
<[email protected]> wrote:
> When compiling snmpd, in “configuration section" there are many prompt that
> requires user’s actions.

There are five such user-prompted settings:
   - the default version of SNMP to use
   - the system contact
   - the system location
   - the default location of the logfile
   - the default location for persistent storage

Five is not really "many"


> Is there a way of avoiding such prompt? How to avoid the need to press Enter?

   $ ./configure --help | grep defaults
  --with-defaults         Use defaults for prompted values.

You may also want to use
  --with-logfile="location"
  --with-persistent-directory="directory"
  --with-sys-contact="who@where"
  --with-sys-location="location"
  --with-default-snmp-version="3"

Dave

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.