sudoers nopasswd 1

sudoers nopasswd

# skipping ask password for users with sudo
	ALL=(ALL:ALL) NOPASSWD: ALL

Here is what the above code is Doing:
1. We are creating a new file called /etc/sudoers.d/
2. We are adding the line ALL=(ALL:ALL) NOPASSWD: ALL to the file
3. We are saving the file

Similar Posts