Comment 12 for bug 1322431

Revision history for this message
Rarylson Freitas (rarylson) wrote :

I confirmed that this bug ocour in Ubuntu 12.04 and 14.04.

The @thorsten-hesemeyer response [#11] is right! The definitive solution is right and the explanation why adding `createUser $user $Aalgorithm "$apassphrase" $Xalgorithm $xpassphrase` entries work is right too.

More info: The Ubuntu team applied a Debian path that splits the `net-snmp-config` command in two: the new command is the `net-snmp-create-v3user` script. In a first moment, the Debian team forgot to pack the `net-snmp-create-v3user` command (`net-snmp-create-v3user.in` file in the Debian repo). After, they applied a bugfix, packing the missing script and fixing the bug (see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726158).

However, this bugfix wasn't merged in Ubuntu yet.

To make the workarround easier, I create a Gist in Github (see: https://gist.github.com/rarylson/72d1414d6907a4548427). So, to workarround this bug:

```
wget https://gist.githubusercontent.com/rarylson/72d1414d6907a4548427/raw/d97aed8debf0a291a0457ec634a3be370bd16546/net-snmp-create-v3-user
chmod +x net-snmp-create-v3-user
mv net-snmp-create-v3-user /usr/local/bin
```