Sudo nopasswd: Difference between revisions
From LinuxizeNet
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category: Linux]] | [[Category: Linux]] | ||
[[Category:Howto]] | |||
Revision as of 23:37, 4 March 2024
sudo without password authentication
Edit sudoers with:
visudo
Changes
For user:
<user> ALL=(ALL) NOPASSWD: ALL
For groups:
%group_name ALL=(ALL) NOPASSWD: ALL
Headers with underscore in name are disabled by NGINX. To enable them, add underscores_in_headers in NGINX server or http context.