Difference between revisions of "Enable passwordless sudo for a specific user"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
== Activities == | == Activities == | ||
* Understand order rules are applied and impact: https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix | * Understand order rules are applied and impact: https://vim.fandom.com/wiki/Set_Vim_as_your_default_editor_for_Unix | ||
− | |||
* <code>[[usermod]] -aG sudo USERNAME</code> | * <code>[[usermod]] -aG sudo USERNAME</code> | ||
Revision as of 14:56, 11 September 2023
- 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
See also
Advertising: