<html><head></head><body>Hi Austin,<br>
<br>
Apologies for the top post — you can use pkexec from a shell script (see gsmartcontrol-root in the gsmartcontrol package).<br>
<br>
Regards,<br>
<br>
Stephen<br><br><div class="gmail_quote">On 28 December 2017 19:04:24 GMT+00:00, Austin English <austinenglish@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">On Dec 27, 2017 11:42 PM, "Jeremy Bicha" <<a href="mailto:jbicha@debian.org">jbicha@debian.org</a>> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Package: winetricks<br />
Severity: important<br />
Tags: sid buster<br />
User: <a href="mailto:pkg-gnome-maintainers@lists.alioth.debian.org">pkg-gnome-maintainers@lists.<wbr />alioth.debian.org</a><br />
Usertags: oldlibs gksu<br />
<br />
gksu has been deprecated for years. The intent of gksu is to allow<br />
running apps with elevated privileges but the way to do that is for<br />
the app developer to use PolicyKit to request elevated privileges for<br />
the specific actions that need done instead of for the whole app to<br />
run as root.<br />
<br />
For the next major stable release of Debian (codenamed Buster), the<br />
Debian GNOME team plans to default to GNOME on Wayland where gksu does<br />
not even work.<br />
<br />
Therefore, the Debian GNOME team intends to either remove gksu or<br />
replace it with a non-functional warning message. gksu is unmaintained<br />
(last upload 2014) and is a security vulnerability.<br />
<br />
winetricks recommends sudo | gksu | kdesudo. Please drop gksu from that list.<br />
<br />
On behalf of the Debian GNOME team,<br />
Jeremy Bicha<br /></blockquote></div></div></div><div dir="auto"><br /></div><div dir="auto">Winetricks maintainer here.</div><div dir="auto"><br /></div><div dir="auto">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).</div><div dir="auto"><br /></div><div dir="auto">Alternatively, is there a Wayland replacement for gksu?</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div></div>
</blockquote></div></body></html>