Skip to content

Files

Latest commit

Oct 5, 2023
6ab66e9 · Oct 5, 2023

History

History
11 lines (10 loc) · 289 Bytes

sudo.md

File metadata and controls

11 lines (10 loc) · 289 Bytes

Enable passwordless sudo

Edit /etc/sudoers. It is recommended to use visudo, e.g.

sudo EDITOR=nvim visudo /etc/sudoers

Find the line reading @includedir /etc/sudoers.d (likely at the bottom), and below it, add

me ALL(ALL) NOPASSWD:ALL

Where me is your username.