(Ooops.  The first time I replied only to Thomas.)

> [EMAIL PROTECTED] wrote:
> > The man page for snmpd.conf says:
> >
> >    ...
> >    This directive should be placed into the  /var/net-
> >    snmp/snmpd.conf  file  instead  of the other normal
> >    locations.  The reason is that the  information  is
> >    read  from  the  file  and then the line is removed
> >    (eliminating the storage of the master password for
> >    that  user)  and  replaced  with  the  key  that is
> >    derived from it.  ...
> >
> > But the only time I see /var/net-snmp/snmpd.conf being rewritten
> is if I kill the agent and start it again.
>
> Yes, that's current behaviour. The persistent file is only saved on
> shutdown.However, I'd tend to agree that it'd be useful to be able
> to force the *running*
> agent to save this file. Currently not implemented, though, AFAICS.


When you say "only _saved_ on shutdown", are you saying that if I write a createUser 
directive to /var/net-snmp/snmpd.c and hit the re-read config bit that the user will 
be created but the usmUser won't be written until the next shutdown?  That's not what 
I'm seeing.  The new user doesn't seem to be active until I restart.

If re-writing the persistent file is deemed useful, I might do it and send a patch.  
Can anyone say how likely that patch would be to be accepted?

                           Chris





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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

Reply via email to