This bug (rather just an oversight) pisses me off to no end. It seems as simple as not including the shell script that runs the create-v3-user. The workaround did not work for me, so I copied /usr/bin/net-snmp-create-v3-user from a Centos 6.4 machine. I changed the "outdir" variable at the bottom of the script to /var/lib/snmp (as it is on 14.04).
1. sudo vi /usr/bin/net-snmp-create-v3-user
2. Paste contents of this: http://pastebin.com/uC3y5Kyz
3. chmod +x /usr/bin/net-snmp-create-v3-user
Then run:
net-snmp-create-v3-user -a PASSWORD -x PASSWORD -X DES -A MD5 snmpuser
It essentially does the same as the workaround, but the workaround did not work for me. So there it is. I guess update the package to include this file again?
This bug (rather just an oversight) pisses me off to no end. It seems as simple as not including the shell script that runs the create-v3-user. The workaround did not work for me, so I copied /usr/bin/ net-snmp- create- v3-user from a Centos 6.4 machine. I changed the "outdir" variable at the bottom of the script to /var/lib/snmp (as it is on 14.04).
1. sudo vi /usr/bin/ net-snmp- create- v3-user pastebin. com/uC3y5Kyz net-snmp- create- v3-user
2. Paste contents of this: http://
3. chmod +x /usr/bin/
Then run:
net-snmp- create- v3-user -a PASSWORD -x PASSWORD -X DES -A MD5 snmpuser
It essentially does the same as the workaround, but the workaround did not work for me. So there it is. I guess update the package to include this file again?