I have a complex password in Ubuntu So I don't want to ask for my password every time Is there a way I want to disable it because it asks me to enter the password in everything, install programs, give commands, and even when opening or closing the system
Asked
Active
Viewed 1,692 times
1 Answers
-2
sudo visudo
put the NOPASSWD:ALL everywhere:
#User alias specification
yourusername ALL=(ALL) NOPASSWD:ALL
User privilege specification
root ALL=(ALL:ALL) NOPASSWD: ALL
Members of the admin group may gain root privileges
%admin ALL=(ALL) NOPASSWD: ALL
Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
It will still bug you about a password when installing software. I still do not know how to remove that ..

HelloMrMeseeks
- 31
- 6
passwd
in a terminal. – Nmath Aug 11 '22 at 17:29