Skip to content

Fix SuperBenchmark initialize.sh: broken sudoers syntax#681

Closed
AlexW-F wants to merge 2 commits intomainfrom
users/alexwill/fix-superbench-init
Closed

Fix SuperBenchmark initialize.sh: broken sudoers syntax#681
AlexW-F wants to merge 2 commits intomainfrom
users/alexwill/fix-superbench-init

Conversation

@AlexW-F
Copy link
Copy Markdown
Contributor

@AlexW-F AlexW-F commented Apr 9, 2026

The visudo invocation was invalid:

  • Single quotes around \ prevented variable expansion (literal '' written)
  • EDITOR='tee -a' visudo doesn't work reliably across distros

Fix: use 'tee /etc/sudoers.d/' which is the standard approach for adding per-user sudoers rules. Also set proper 440 permissions.

Alex Williams-Ferreira and others added 2 commits April 9, 2026 09:40
The visudo invocation was invalid:
- Single quotes around \ prevented variable expansion (literal '\' written)
- EDITOR='tee -a' visudo doesn't work reliably across distros

Fix: use 'tee /etc/sudoers.d/\' which is the standard approach for
adding per-user sudoers rules. Also set proper 440 permissions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AlexW-F AlexW-F closed this Apr 9, 2026
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.

1 participant