I don't want it to ever complain about permissions or ask for sudo password ever again. Is there any way to do this?
I have to say it is a really bad idea since it removes a big part of the security. To remove password prompts for commands/apps using sudo do
to open the sudo file. Once in there change:
%sudo ALL=(ALL:ALL) ALL
%sudo ALL=(ALL) NOPASSWD:ALL
Then exit and save using
Ctrl+x, y, Enter
To remove password prompts for some graphical applications that use policy kit, not sudo do the following:
.pkla file in
for example the file could be named
99-nopassword.pkla and the path would be
That file should contain:
[No password prompt] Identity=unix-group:sudo Action=* ResultActive=yes See the pklocalauthority manpage for more information.
To completely remove the necessity of sudo for a terminal session, type
sudo -i to execute your shell. After that you don't have to run sudo until you close that session