Skip to content

Commit 86173df

Browse files
authored
Update sudoers.d_.md
1 parent 3f60cb7 commit 86173df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sudoers.d_.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/etc/sudoers.d/
22
---
33

4-
- directory permissions: 550, dr-xr-x--- (at least)
5-
- file permission: 440, -r--r----- (may not be necessary)
64
- create file in drop-in directory instead of `visudo`
75
- allow `user` on `ALL` host `NOPASSWD` sudo `ALL` commands : `user ALL=NOPASSWD: ALL`
8-
- should be verified with `visudo -c -f /etc/sudoers.d/file`
6+
- files should be verified with `visudo -c -f /etc/sudoers.d/file`
97
- file name must not contain `~` or `.`
108
- multiple files will be parsed alphabetically
9+
- directory permissions: 550, dr-xr-x--- (at least)
10+
- file permission: 440, -r--r----- (may not be necessary)
1111

1212
To directly edit `/etc/sudoers` with `nano` : `EDITOR=nano visudo`

0 commit comments

Comments
 (0)