The bulk of my experience has been with fresh installations of Ubuntu 16.04 on virtual machines, using libvirt with qemu-kvm. I have never had an issue using sudo with the ejabberdctl steps in that environment.
I did upgrad a VM from Ubuntu 14.04 to 16.04 several years ago, but I don't recall if I had any issues with that step, or if I even performed that step given that the VM already had OpenSRF and Evergreen installed.
The bulk of my experience has been with fresh installations of Ubuntu 16.04 on virtual machines, using libvirt with qemu-kvm. I have never had an issue using sudo with the ejabberdctl steps in that environment.
I did upgrad a VM from Ubuntu 14.04 to 16.04 several years ago, but I don't recall if I had any issues with that step, or if I even performed that step given that the VM already had OpenSRF and Evergreen installed.