Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-30-2007, 09:21 AM   #1
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
SNMPv3 Unknown user name?!

I've installed net-snmp and was sure this was working with SNMPv3 user authentication on Friday. Suddenly it does not seem to be working today.

I stop the snmpd daemon, then type the following:
net-snmp-config --create-snmpv3-user -ro -A mypassword -a SHA -X mypassword -x AES myuser
which adds a line to the end of /var/lib/net-snmp/snmpd.conf as follows:
createUser myuser SHA "mypassword" AES mypassword
I have also added the following line to /etc/snmp/snmpd.conf:
rouser myuser
then I start snmpd as follows:
snmpd -Lo -C -c /etc/snmp/snmpd.conf -f
the problem is that when trying to do an snmpwalk I get the following error:
snmpwalk -v 3 -u myuser -l authPriv -A mypassword -a SHA -X mypassword -x AES localhost
snmpwalk: Unknown user name
I notice in /var/lib/net-snmp/snmpd.conf that the line createuser is removed but no other lines are added, no usm line is added!

I've done all of this before last week and it worked, I don't understand why it's not working now. I wrote a script of my steps as I did this and verified that it worked, I am a bit confused as to what if anything I am missing.

I'm not sure if there is one or two problems here, because not only is snmpd swallowing the user, but when repeating the snmpwalk operation when the daemon was shut down I got exactly the same error.

Any ideas on this weirdness?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unknown user on f5 log tony1139 Linux - Newbie 4 05-28-2006 12:47 AM
User Unknown Gnux *BSD 4 04-19-2006 01:04 PM
Unknown user when looking at top Tons of Fun Debian 4 08-21-2005 11:40 AM
unknown user twallstr Linux - General 4 05-17-2005 12:20 PM
Cyrus unknown user KeesW Linux - Software 0 05-04-2004 01:21 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration