sudo a graphical app?

Joel Rees joel.rees at gmail.com
Thu Aug 11 00:50:51 UTC 2011


On Tue, Aug 9, 2011 at 6:26 PM, Andre Speelmans <fedora-list at cosiso.nl> wrote:
> Hi Jeol,
>
>> sudo -u user9-boxed -- /usr/bin/firefox %u &
>>
>> gives a "sorry, you must have a tty to run sudo" error in
>> /var/log/secure . So does using the firebox command.
>
> If I recall correctly, there is a line "requiretty" in the
> /etc/sudoers file (or can be added). The default value is true, you
> might try changing that to false.

b'gosh, it says that's supposed to be off by default, but I added
!requiretty to the defaults line and the clicky works now!

(Now comes the hard part, trying to figure out whether this effort at
sandboxing really does any good.)

Thanks.

Joel Rees


More information about the users mailing list