FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 04-05-2008, 08:40 AM
Markus Schönhaber
 
Default sudo vs. gksu (was: Nervous Mouse Syndrome)

Mario Vukelic wrote:

> No, gksu _is the right tool to use. sudo should never be used to start
> graphical applications, as this could cause problems:
>
> https://help.ubuntu.com/community/RootSudo (in the "Notes" section)

Since the above page only says "don't do it!" but doesn't explain what
might happen otherwise: what problems are to be expected if one starts a
graphical application with sudo?

Regards
mks

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 09:01 AM
Mario Vukelic
 
Default sudo vs. gksu (was: Nervous Mouse Syndrome)

On Sat, 2008-04-05 at 10:40 +0200, Markus Schönhaber wrote:
> Since the above page only says "don't do it!" but doesn't explain what
> might happen otherwise: what problems are to be expected if one starts
> a graphical application with sudo?

IIRC, it can leave a lock file (or something) with the wrong (root's)
permissions, which would prevent X from starting next time you reboot.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 04-05-2008, 09:08 AM
Nils Kassube
 
Default sudo vs. gksu (was: Nervous Mouse Syndrome)

Markus Schönhaber wrote:
> Mario Vukelic wrote:
> > No, gksu _is the right tool to use. sudo should never be used to
> > start graphical applications, as this could cause problems:
> >
> > https://help.ubuntu.com/community/RootSudo (in the "Notes" section)
>
> Since the above page only says "don't do it!" but doesn't explain what
> might happen otherwise: what problems are to be expected if one starts
> a graphical application with sudo?

With sudo some applications access / modify the user's config files as
root. From then on they are owned by root and the user can no longer
access / modify them. That leads to unusual error messages which only
long time users can trace back to the permission problem. With gksu (or
kdesu if you use kde) this problem is avoided.


Nils

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org