lxqt / lxqt-sudo

GUI frontend for sudo/su
https://lxqt.github.io
GNU Lesser General Public License v2.1
37 stars 27 forks source link

Support for Doas #195

Closed felixity1917 closed 1 year ago

felixity1917 commented 1 year ago

Expected Behavior

lxqt-sudo should run using doas without an issue when specified with a hypothetical doas backend flag.

Current Behavior

lxqt-sudo fails to run without sudo. Symlinking /usr/bin/doas to /usr/bin/sudo produces obvious errors.

Possible Solution

Adding a doas backend and appropriate flag to enable it on command.

Steps to Reproduce (for bugs)

  1. System without sudo. Doas symlinked to sudo.
  2. Open terminal.
  3. Run lxqt-sudo echo "Trial1"
  4. Errors (provided in attached illustration) Illustration Hyperlink

Context

Unable to use lxqt-sudo on a doas based system. Alternating with pkexec instead for the meantime.

System Information

palinek commented 1 year ago

Here you go -> #196

felixity1917 commented 1 year ago

Amazing. Thanks.

palinek commented 1 year ago

Red1922 closed this as completed

The implementing PR is not merged to master yet. Why did you close this?

felixity1917 commented 1 year ago

I didn't know we had to keep this open until the PR was merged. I have not made many github issues yet. Thanks for correcting.