Hi Austin, Apologies for the top post — you can use pkexec from a shell script (see gsmartcontrol-root in the gsmartcontrol package).
Regards, Stephen On 28 December 2017 19:04:24 GMT+00:00, Austin English <[email protected]> wrote: >On Dec 27, 2017 11:42 PM, "Jeremy Bicha" <[email protected]> wrote: > >Package: winetricks >Severity: important >Tags: sid buster >User: [email protected] >Usertags: oldlibs gksu > >gksu has been deprecated for years. The intent of gksu is to allow >running apps with elevated privileges but the way to do that is for >the app developer to use PolicyKit to request elevated privileges for >the specific actions that need done instead of for the whole app to >run as root. > >For the next major stable release of Debian (codenamed Buster), the >Debian GNOME team plans to default to GNOME on Wayland where gksu does >not even work. > >Therefore, the Debian GNOME team intends to either remove gksu or >replace it with a non-functional warning message. gksu is unmaintained >(last upload 2014) and is a security vulnerability. > >winetricks recommends sudo | gksu | kdesudo. Please drop gksu from that >list. > >On behalf of the Debian GNOME team, >Jeremy Bicha > > >Winetricks maintainer here. > >Forgive my ignorance, but afaik there's not a way to use policykit from >a >shell script, is there? gksu/kdesu are for users running the script but >not >in a console (e.g. with a zenity menu). > >Alternatively, is there a Wayland replacement for gksu?

