Skip to content

⭐ Extend sudoers resource to support all major OS paths#6658

Merged
tas50 merged 1 commit intomainfrom
tas50/sudoers_platforms
Feb 22, 2026
Merged

⭐ Extend sudoers resource to support all major OS paths#6658
tas50 merged 1 commit intomainfrom
tas50/sudoers_platforms

Conversation

@tas50
Copy link
Copy Markdown
Member

@tas50 tas50 commented Feb 22, 2026

Only Linux/macOS use /etc/sudoers. Make sure we find the file in the right place no matter what OS the user is on

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 22, 2026

Test Results

5 104 tests  +5 104   5 100 ✅ +5 100   2m 4s ⏱️ + 2m 4s
  409 suites +  409       4 💤 +    4 
   31 files   +   31       0 ❌ ±    0 

Results for commit 57b4e75. ± Comparison against base commit c839db3.

♻️ This comment has been updated with latest results.

Only Linux/macOS use /etc/sudoers. Make sure we find the file in the
right place no matter what OS the user is on

Signed-off-by: Tim Smith <tsmith84@gmail.com>
@tas50 tas50 force-pushed the tas50/sudoers_platforms branch from 05464c0 to 57b4e75 Compare February 22, 2026 11:16
@chris-rock
Copy link
Copy Markdown
Member

/review

Copy link
Copy Markdown

@mondoo-code-review mondoo-code-review bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean platform-specific sudoers path support with good test coverage

@tas50 tas50 merged commit fd7a893 into main Feb 22, 2026
42 of 45 checks passed
@tas50 tas50 deleted the tas50/sudoers_platforms branch February 22, 2026 18:09
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants