Enable passwordless sudo for a specific user
Jump to navigation
Jump to search
- Ansible: Configure user to be able to use sudo with no password using
lineinfile
module
Activities
- Understand order rules are applied and impact: https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix
usermod -aG sudo USERNAME
Related
- NOPASSWD
- %sudo ALL=(ALL) NOPASSWD: ALL
See also
Advertising: