RE: How to remove user by the agent

"Naama Bar Menachem" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
My problem is that users names and password are saved in snmpd.conf file
in persist directory and they are encrypted, so I cannot identify the
proper user:

usmUser 1 3 0x80001f8880074df056000000000000000b 0x6f70657200
0x6f70657200 NULL .1.3.6.1.6.3.10.1.1.2
0x6be71ac30f875418d8606ec8779a3ab7 .1.3.6.1.6.3.10.1.2.2
0x6be71ac30f875418d8606ec8779a3ab7 0x
usmUser 1 3 0x80001f8880074df056000000000000000b 0x7573657200
0x7573657200 NULL .1.3.6.1.6.3.10.1.1.2
0x6be71ac30f875418d8606ec8779a3ab7 .1.3.6.1.6.3.10.1.2.2
0x6be71ac30f875418d8606ec8779a3ab7 0x
usmUser 1 3 0x80001f8880074df056000000000000000b 0x61646d696e00
0x61646d696e00 NULL .1.3.6.1.6.3.10.1.1.2
0x6be71ac30f875418d8606ec8779a3ab7 .1.3.6.1.6.3.10.1.2.2
0x6be71ac30f875418d8606ec8779a3ab7 0x
usmUser 1 3 0x80001f8880074df056000000000000000b
0x696e6e65725f7573657200 0x696e6e65725f7573657200 NULL
.1.3.6.1.6.3.10.1.1.2 0x11e476b8ba3755aa56c643e867a2123e
.1.3.6.1.6.3.10.1.2.2 0x11e476b8ba3755aa56c643e867a2123e 0x
setserialno 831524389

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Tuesday, November 23, 2010 12:12 PM
To: Naama Bar Menachem
Cc: [email protected]
Subject: Re: How to remove user by the agent

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.