sudo vs. gksu
Karl Larsen
k5di at zianet.com
Sat Apr 5 17:31:25 UTC 2008
Mario Vukelic wrote:
> On Sat, 2008-04-05 at 14:11 +0100, Tony Arnold wrote:
>
>> Can you explain how this problem is avoided with gksu, or gksudo? So far
>> as I can see using one of these causes the application to run with UID
>> of 0, i.e., root. The app has no knowledge of how it was invoked, so any
>> files is creates will be owned by root.
>>
>> Your explanation applies to running any app, not just graphical ones.
>>
>
> http://www.psychocats.net/ubuntu/graphicalsudo
>
>
>
From what I have heard it appears that control files of the GUI
application can take on root privledge from using sudo. I am going to
run an experiment where I use nothing but sudo with gedit and pay
attention to the control files. I use joe as an editor in a terminal and
it has never had a problem when used in a root terminal.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list