User Tools

Site Tools


linux:sudoers

How to execute sudo without password:

insert this line (changing davide with the desired username)

davide ALL=(ALL:ALL) NOPASSWD:ALL

it is recommended to use the visudo command to edit the sudoers file to avoid mistake

sudo visudo
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
linux/sudoers.txt · Last modified: 2024/11/10 08:00 by 127.0.0.1