Sudo nopasswd: Difference between revisions
From LinuxizeNet
(Created page with "visudo for user: <user> ALL=(ALL) NOPASSWD: ALL for group: %group_name ALL=(ALL) NOPASSWD: ALL") |
(Remove inert legacy #ae8c55 wrapper (superseded by site CSS)) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{clear}} | |||
=== sudo without password authentication === | |||
Edit sudoers with: | |||
<syntaxhighlight lang="Bash" > | |||
visudo | visudo | ||
</syntaxhighlight> | |||
==Changes== | |||
For user: | |||
<syntaxhighlight lang="Bash" > | |||
<user> ALL=(ALL) NOPASSWD: ALL | <user> ALL=(ALL) NOPASSWD: ALL | ||
</syntaxhighlight> | |||
For groups: | |||
<syntaxhighlight lang="Bash" > | |||
%group_name ALL=(ALL) NOPASSWD: ALL | %group_name ALL=(ALL) NOPASSWD: ALL | ||
</syntaxhighlight> | |||
[[Category: Linux]] | |||
[[Category:Howto]] | |||