Skip to content

Update sudoers file to not include dots - #2080

Merged
jglogan merged 1 commit into
apple:mainfrom
tumd:patch-1
Aug 8, 2026
Merged

Update sudoers file to not include dots#2080
jglogan merged 1 commit into
apple:mainfrom
tumd:patch-1

Conversation

@tumd

@tumd tumd commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Files under /etc/sudoers.d/ must not contain dots as these will be ignored as "backup-files".

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Many have usernames formated as "first.lastname". These users will currently be ignored by sudoers.

See https://superuser.com/questions/1820104/why-does-sudoers-d-ignore-filenames-with-dots-in-them

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Files under /etc/sudoers.d/ must not contain dots as these will be ignored as "backup-files"
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 24.27%
Integration 66.84%
Combined 76.19%

@jglogan

jglogan commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

@tumd Looks good! Thank you for the fix!

@jglogan
jglogan merged commit af405ff into apple:main Aug 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants