Skip to content

Commit

Permalink
Normalize away "Matching Defaults entries"
Browse files Browse the repository at this point in the history
sudo-rs doesn't support it yet.
  • Loading branch information
bjorn3 committed Jan 21, 2025
1 parent bb241e5 commit 9a1d214
Show file tree
Hide file tree
Showing 78 changed files with 8 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ macro_rules! assert_snapshot {
filters => vec![
(BIN_LS, "<BIN_LS>"),
(&format!("Sudoers entry: {ETC_SUDOERS}"), "Sudoers entry:"),
("Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath
", "")
],
prepend_module_to_snapshot => false,
}, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
source: sudo-compliance-tests/src/sudo/flag_list/long_format/mod.rs
expression: stdout
---
Matching Defaults entries for root on container:
!fqdn, !lecture, !mailerpath

User root may run the following commands on container:

Sudoers entry:
Expand Down
Loading

0 comments on commit 9a1d214

Please sign in to comment.