This gets way more confusing as both the manpage and the help command are... right? But in different ways. For example, -a can be used both for the method AND the password for some reason:
root@q-test:~# net-snmp-create-v3-user -a authpsswd -X priv testuser1 adding the following line to /var/lib/snmp/snmpd.conf: createUser testuser1 MD5 "authpsswd" DES "priv" adding the following line to /etc/snmp/snmpd.conf: rwuser testuser1 root@q-test:~# net-snmp-create-v3-user -a SHA -A authpsswd2 -X priv testuser2 adding the following line to /var/lib/snmp/snmpd.conf: createUser testuser2 SHA "authpsswd2" DES "priv" adding the following line to /etc/snmp/snmpd.conf: rwuser testuser2 Same for -X/-x. That said, the manpage needs to be updated to cover those cases, and match --help, as --help has all the options. This is already fixed upstream: https://github.com/net-snmp/net-snmp/blob/master/man/net-snmp-create-v3-user.1.def in https://github.com/net-snmp/net-snmp/commit/7d0da6c40db63611648115ad8dc4e5f00485ba1d Not released yet though - there is a 'pre' tag after 5.9.4. It will eventually be brought via debian, but it can be fixed in Ubuntu first and the generated delta will disappear in future merges. ** Changed in: net-snmp (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2110593 Title: net-snmp-create-v3-user --help differs from the man page. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/2110593/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
