test: verify unmanaged sudoers files survive
Guard against regressions that remove the login user’s sudo access. Verify that only a drop-in marked state: absent is removed. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
3 files changed
+22
-10
No files matched your search
+6
-6
@@ -3,9 +3,9 @@
|
||||
sudo_users_sudoers: []
|
||||
# - commands:
|
||||
# - ALL
|
||||
# filename: "" # Optional: Default to user or group
|
||||
# group: "" # Group or User, not booth!
|
||||
# nopassword: true
|
||||
# runas: "" # Optional
|
||||
# state: present # Optional: present or absent. Default to present
|
||||
# user: "markus": # Group or User, not booth!
|
||||
# filename: "" # Optional: Default to user or group
|
||||
# group: "" # Group or User, not booth!
|
||||
# nopassword: true #
|
||||
# runas: "" # Optional
|
||||
# state: present # Optional: absent removes this drop-in; defaults to present
|
||||
# user: "markus": # Group or User, not booth!
|
||||
Reference in new issue
Block a user