It is a Gtk sudo, good for using with Gtk written GUI apps.
sudo uses a sodoers list and you use your own password to be root.
su needs a root or the particular users password to use unless you are already root.
gksu vs sudo
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Very good question...
"sudo gedit" and "gksu gedit" are pretty much the same... with sudo you'll have to write the password in the console before gedit opens.. with gksu it might come up as a dialog box before gedit opens... so it's more or less the same stuff.
The REAL advantage of gksu is when you want to get your console back...
If you type "sudo gedit &" the "&" bit gives you the console back.. and you don't get the opportunity to type the password for sudo.. so gedit simply doesn't open
To solve this problem you replace it with "gksu gedit &". This way your console is freed, and the password dialog box is there as well.
Same goes for kdesu.
Clem
"sudo gedit" and "gksu gedit" are pretty much the same... with sudo you'll have to write the password in the console before gedit opens.. with gksu it might come up as a dialog box before gedit opens... so it's more or less the same stuff.
The REAL advantage of gksu is when you want to get your console back...
If you type "sudo gedit &" the "&" bit gives you the console back.. and you don't get the opportunity to type the password for sudo.. so gedit simply doesn't open
To solve this problem you replace it with "gksu gedit &". This way your console is freed, and the password dialog box is there as well.
Same goes for kdesu.
Clem