I keep seeing this whenever enter
sudo on different user than
You must SSH in as root to run this command: sudo
Here is the output of
sudo -l -U myuser
Matching Defaults entries for serverpilot on ubuntu-xenial: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin User myuser may run the following commands on ubuntu-xenial: (ALL) NOPASSWD: ALL
Vagrant to manage my machines.
P/s: Before I posted this, I'm still able to add new sudo user by above way without any problems. (Previous ubuntu boxes version)