Difference between revisions of "Enable passwordless sudo for a specific user"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
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 | + | * <code>[[usermod -aG sudo]] USERNAME</code> |
+ | |||
+ | == Related == | ||
+ | * [[NOPASSWD]] | ||
+ | * %sudo ALL=(ALL) NOPASSWD: ALL | ||
+ | * [[Passkey]] | ||
+ | * [[Passwordless authentication]] | ||
== See also == | == See also == | ||
* {{sudo}} | * {{sudo}} | ||
− | |||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:sudo]] | [[Category:sudo]] |
Latest revision as of 14:28, 5 May 2024
- Ansible: Configure user to be able to use sudo with no password using
lineinfile
module
Activities[edit]
- 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[edit]
- NOPASSWD
- %sudo ALL=(ALL) NOPASSWD: ALL
- Passkey
- Passwordless authentication
See also[edit]
Advertising: