On Wed, Nov 18, 2015 at 03:09:34PM -0500, Adam Jackson wrote:
> To the bug in question: probably we should make it so 'sudo gedit' does
> work, but I'd still strongly discourage anyone from actually doing so.

Actually, there's a better way. The authors of sudo already considered
this. Set "VISUAL" to gedit, and use `sudo -e`. That invokes the editor
as non-root on a temporary file, and copies that temp file into place
when done.

-- 
Matthew Miller
<mat...@fedoraproject.org>
Fedora Project Leader
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to