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

sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied #1379

Open
dobrzann opened this issue Dec 22, 2023 · 1 comment
Open

sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied #1379

dobrzann opened this issue Dec 22, 2023 · 1 comment

Comments

@dobrzann
Copy link

Can anyone help me with solving an issue related to using the sudo command? I've tried installing various systems on different smartphones using Linux Deploy, and on each one, I encounter an error when attempting to use sudo:

sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
sudo: error initializing audit plugin.

I've tried editing the sudoers file, but it doesn't change anything. The only workaround I've found is either changing the username to root or using the pre-installed doas command, but this doesn't allow me to fully utilize tools like Kiauh for installing Klipper.

Please, anyone with knowledge that could help solve this problem, I'm seeking assistanc

@sagisar1
Copy link

Do you have an apache2 web server involved? if yes I probably know what is the problem.
Otherwise, try to do make a trace of the syscalls with the strace command to identify the root cause of the problem

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

2 participants