Skip to content

Commit 5058c90

Browse files
committed
docs: sudo without password prompt
1 parent 4df4b1a commit 5058c90

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/Basic_setup/What-is-sudo.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,15 @@ Please try to minimise your use of `sudo` when you are working with IOTstack. He
4545
```
4646

4747
It takes time, patience and practice to learn when `sudo` is **actually** needed. Over-using `sudo` out of habit, or because you were following a bad example you found on the web, is a very good way to find that you have created so many problems for yourself that will need to reinstall your IOTstack. *Please* err on the side of caution!
48+
49+
## Configuration
50+
51+
To edit sudo functionality and permissions use: `sudo visudo`
52+
53+
For instance, to allow sudo usage without prompting for a password:
54+
```bash
55+
# Allow members of group sudo to execute any command without password prompt
56+
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
57+
```
58+
59+
For more information: `man sudoers`

0 commit comments

Comments
 (0)