lxqt / lxqt-sudo

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

'lxqt-sudo --user' to run application under a user other than root #134

Open adrelanos opened 5 years ago

adrelanos commented 5 years ago
Expected Behavior

lxqt-sudo --user username

Run under a different username. Similar to sudo --user.

Current Behavior

lxqt-sudo does not support --user.

Context

In Whonix we are using hidepid=2. This breaks pkexec. Hence a wrapper was written to redirect calls from pkexec to lxqt-sudo. However, pkexec supports --user while lxqt-sudo does not.

romildo commented 1 year ago

This feature is not available yet, although the description in the repository suggests it should be possible to use lxqt-sudo with users other than root:

https://github.com/lxqt/lxqt-sudo#overview

lxqt-sudo is a graphical front-end of commands sudo and su respectively. As such it enables regular users to launch applications with permissions of other users including root.