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

Run as root, no sudo available #280

Open
adrinjalali opened this issue Oct 20, 2021 · 1 comment
Open

Run as root, no sudo available #280

adrinjalali opened this issue Oct 20, 2021 · 1 comment

Comments

@adrinjalali
Copy link

I was wondering if it would be possible to run openpyn w/o having sudo. When I run it as root, it still fails when sudo is not installed.

@1951FDG
Copy link
Contributor

1951FDG commented Oct 23, 2021

Hi,

If you really don't want to or can't install sudo, then the one way would be edit the code yourself (use test branch!!), and remove all instances of "sudo", "-u", sudo_user, or a "fake" sudo executable which accepts u as a parameter and runs a command in a similar fashion as sudo does.

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