Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error w/ sudo - Issue #4

Closed
pr0cqd opened this issue Jun 21, 2023 · 6 comments
Closed

Syntax Error w/ sudo - Issue #4

pr0cqd opened this issue Jun 21, 2023 · 6 comments

Comments

@pr0cqd
Copy link

pr0cqd commented Jun 21, 2023

Hey OP. Exagear runs into an Issue everytime trying to use the sudo commad.
Any known Fixes you have for this specific Problem? Exagear is the only Program that would let me use x86 on aarm.
I know this is such a Niche Software for Linux but i'd hugely appreciate it if you could help a fella out.

Well and here is the Error Code.

/etc/sudoers: syntax error near line 27 <<<
sudo: parse error in /etc/sudoers near line 27
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

@ryanfortner
Copy link
Owner

Does sudo work on the host system? (without exagear)

@pr0cqd
Copy link
Author

pr0cqd commented Aug 1, 2023

Does sudo work on the host system? (without exagear)

Yep, doesnt pop any errors

@frankhval
Copy link

frankhval commented Oct 6, 2023

can confirm; I've tried several guest images and if I try to use sudo I got the same mistake whatever I do with the sudoers file :(

Main system works just fine otoh

@frankhval
Copy link

frankhval commented Oct 7, 2023

Update for anyone who will bump into the same problem from the future: By some strange magic ExaGear session was looking into the main system's sudoers and on recent raspberry pi's OS images the line 27 of sudoers is looking like "@includedir ...".

By changing line 27 from "@includedir..." to "#includedir..." on a host system '/etc/sudoers' solves the problem.

Hope it will be helpful for anyone except myself.

@pr0cqd
Copy link
Author

pr0cqd commented Oct 20, 2023

Update for anyone who will bump into the same problem from the future: By some strange magic ExaGear session was looking into the main system's sudoers and on recent raspberry pi's OS images the line 27 of sudoers is looking like "@includedir ...".

By changing line 27 from "@includedir..." to "#includedir..." on a host system '/etc/sudoers' solves the problem.

Hope it will be helpful for anyone except myself.

Wow, This is actually quite the surprise.
Thank you. Never thought I'd see that Issue fixed.

@pr0cqd pr0cqd closed this as completed Oct 20, 2023
@pranavr2003
Copy link
Contributor

Update for anyone who will bump into the same problem from the future: By some strange magic ExaGear session was looking into the main system's sudoers and on recent raspberry pi's OS images the line 27 of sudoers is looking like "@includedir ...".

By changing line 27 from "@includedir..." to "#includedir..." on a host system '/etc/sudoers' solves the problem.

Hope it will be helpful for anyone except myself.

Are you God?

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

No branches or pull requests

4 participants