difference sudo vs gksudo?
Posted: Sun Nov 06, 2016 12:51 pm
What is the difference between the gksudo and sudo command?
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=164951
Code: Select all
man sudoCode: Select all
man gksudoCode: Select all
man mangksudo : is used to run graphical (GUI) applications as rootCanedje wrote:What is the difference between the gksudo and sudo command?
It's best practice to ONLY use sudo or gksudo when you absolutely must have elevated privileges. Too many users on too many systems assume sudo is the answer to all of their troubles. It usually isn't and is simply an ugly way to bypass security that's there to prevent you shooting the system dead in error.HawaiianPi wrote: Often using sudo with graphical applications will work, but there have been issues in the past, so best practice is to use sudo for commands that run in the terminal or from the CLI, and gksudo (or gksu) to run desktop/GUI applications.