create a bootable USB

Terminal rejects with comment: "sudo: unable to stat /etc/sudoers: Permission denied

sudo: no valid shudders sources found, quitting"


Posted on Sep 5, 2025 8:41 PM

Reply
2 replies

Sep 6, 2025 4:45 PM in response to Thomas Bloss

Thomas Bloss wrote:

Terminal rejects with comment: "sudo: unable to stat /etc/sudoers: Permission denied
sudo: no valid shudders sources found, quitting"

You must have broken the "sudoers" file at some point by making an bad edit to it.


The easiest way forward is to replace that file with one from a backup made before the catastrophic edit.


Also, make sure you copy & paste the error message since it seems like you made a mistake with posting it here. Terminal messages are extremely important to report correctly & exactly.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

create a bootable USB

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.