$ 0 0 Run in a terminal: sudo visudo The sudoers file will be opened with your default editor. There add this line at the end of the file: username ALL=(ALL) NOPASSWD: ALL Then safe and exit.