Difference between revisions of "Enable passwordless sudo for a specific user"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | * <code>[[visudo]]</code> | ||
* <code>[[/etc/sudoers]]</code> | * <code>[[/etc/sudoers]]</code> | ||
* <code>[[/etc/sudoers.d/]]</code> | * <code>[[/etc/sudoers.d/]]</code> |
Revision as of 10:55, 7 July 2022
- 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
sudo update-alternatives --config editor
usermod -aG sudo USERNAME
See also
Advertising: