sudo vs. gksu in Ubuntu

Linux OS Topics
Post Reply
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

sudo vs. gksu in Ubuntu

Post by Saman » Fri Jan 13, 2012 3:09 am

Have you ever found that there is a clear difference in using sudo and gksudo?
I also thoguht both are same for a long time until recently. However in most cases this difference has no effect.

When you launch graphical applications with sudo, those are launched with root privileges but with user's configuration file. However when you use gksudo, it launches them correctly with root's configuration file.

If I simply the answer, lauch graphical applications with gksudo and terminal ones with sudo.
Post Reply

Return to “Linux”