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

[Feature Request] Use PolKit for graphical authentication when not invoked as superuser. #494

Open
RokeJulianLockhart opened this issue Jul 22, 2023 · 0 comments

Comments

@RokeJulianLockhart
Copy link

If I don't use

su root -c "zypper install $package"

the terminal shows

Root privileges are required to run this command.
NativeCommandExitException: Program "zypper" ended with non-zero exit code: 5.

whereas if I invoke

snap install $package

image

appears, and if a password isn't supplied

error: access denied (try with sudo)
NativeCommandExitException: Program "snap" ended with non-zero exit code: 1.
@RokeJulianLockhart RokeJulianLockhart changed the title Use PolKit for graphical authentication when not invoked as superuser. [Feature Request] Use PolKit for graphical authentication when not invoked as superuser. Jul 22, 2023
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

1 participant