create access subdirectory

This commit is contained in:
2024-10-04 14:52:55 +02:00
parent 40bcbbb1d3
commit 8a55e6a7bb
10 changed files with 14 additions and 18 deletions
+11
View File
@@ -0,0 +1,11 @@
# Custom sudo Rules
Custom sudo rules can be specify in hiera as follows:
```yaml
aaa::sudo_rules:
- 'Defaults:telegraf !requiretty, !syslog'
- 'telegraf ALL=(root) NOPASSWD: /usr/lib/telegraf/scripts/nxserver_report.sh'
```
Beside that you might also simply deploy a file to /etc/sudoers.d e.g. via a technique described in [Distribute Files](distribute_files).