Re: [DNG] pkexec in Chimaera

2021-11-07 Thread Lars Noodén via Dng
On 11/8/21 05:12, tempforever wrote: [snip]> Lars Noodén via Dng wrote: You could consider running sudoedit instead. That will allow you to edit a file as root (or any other designated account) while still running the editor itself under the unprivileged account. One should not run graphical

Re: [DNG] pkexec in Chimaera

2021-11-07 Thread tempforever
Thanks for the (attempted) help. su -c - root mousepad returned the same error (Mousepad-CRITICAL... Failed to initialize xfconf: The connection is closed) su -c - root xterm and then mousepad (in that xterm) returned the same error again. I noticed on my Beowulf system I get a similar "error"

Re: [DNG] pkexec in Chimaera

2021-11-07 Thread Steve Litt
tempforever said on Sun, 7 Nov 2021 14:19:54 -0500 >I'm logged on user "a" (with very few permissions), on the same system >exists user "b" (in sudo group). >When I run pkexec --user root mousepad (for example), it prompts for >user "b" password, instead of root password. >If I remove user "b"

Re: [DNG] pkexec in Chimaera

2021-11-07 Thread Lars Noodén via Dng
On 11/7/21 21:19, tempforever wrote: [snip]> Actually I'll probably switch to a text-based editor for this particular case, but in general, for GUI applications, how is this done now? [snip] You could consider running sudoedit instead. That will allow you to edit a file as root (or any other

[DNG] pkexec in Chimaera

2021-11-07 Thread tempforever
I'm logged on user "a" (with very few permissions), on the same system exists user "b" (in sudo group). When I run pkexec --user root mousepad (for example), it prompts for user "b" password, instead of root password. If I remove user "b" from sudo group, the above example will prompt for root