Re: How to remove user by the agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 23 November 2010 08:14, Naama Bar Menachem
<[email protected]> wrote:
> Is there a way to delete/remove user by the agent itself (and not by using snmpusm application)?
>
> .... I am looking for function to remove user from the server side, similar to “net-snmp-create-v3-user”
> that creates users.

The equivalent to 'net-snmp-create-v3-user' would be something such as
the following:

    #  service stop snmpd
    #  $EDITOR  /var/lib/net-snmp/snmpd.conf
            [find and delete the relevant 'usmUser' lines]
    #  $EDITOR  /etc/snmp/snmpd.conf
            [find and delete the relevant 'rouser'/'rwuser' lines]
    #  service start snmpd


That's essentially what “net-snmp-create-v3-user” does to add the user
information.


Dave

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
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.