Setup the vagrant as dev environment

$ sudo adduser kelvin

copy the ssh keys

copy the public key to ~/.ssh/authorized_keys

change the ssh.username to kelvin

bzr lp-login kelvin.li

add the user to sudo

$ sudo adduser <username> sudo
$ sudo vim /etc/sudoers

add
kelvin ALL=(ALL) NOPASSWD: ALL

Remove Existing User from sudo Group

$ sudo gpasswd  -d <username> sudo

Add Existing User in sudo Group

$ sudo usermod -aG sudo <username>

Open terminal window and type:

sudo visudo

In the bottom of the file, type the follow:
username ALL=(ALL) NOPASSWD: ALL