This is how to stop Ubuntu for asking for sudo password everytimes. # sudo visudo Then add this line at the bottom of the file username ALL=NOPASSWD: ALL replace username for you username account then save the file and exit.