If you keep entering the same command with sudo, after a few times of sudo: unable to lookup $HOSTNAME via gethostbyname() system asks for the password and you can execute the command. I had to edit /etc/hosts /etc/hostname and run /etc/init.d/hostname start to have my sudo working correctly (and my hostname changed)
If you keep entering the same command with sudo, after a few times of sudo: unable to lookup $HOSTNAME via gethostbyname() system asks for the password and you can execute the command. I had to edit /etc/hosts /etc/hostname and run /etc/init. d/hostname start to have my sudo working correctly (and my hostname changed)