Originally Posted by nixque
So if any user logs in and does the sudo command they don't need the password ?
That would make it kinda insecure
NOPASSWD should be used wisely. Only use this option for specific commands and not for all commands that are run with sudo.
sudo -i runs a login shell and if I assume the shell is bash then something like this should work:
User_Alias UA_BASH = username
Cmnd_Alias CA_BASH = /bin/bash
UA_BASH ALL=(root)NOPASSWD: CA_BASH
should be the user that is allowed to do this.
I'm not sure you want to do this: This user now has full root access, which isn't advisable.