Δημοσιεύτηκε: 24 Μάιος 2016, 17:07
από Th P
malos έγραψε:Τι διαφορά έχει το sudo από το kdesudo


έγραψε:sudo stands for Super User Do. That means it provide privileges of the root/main user via terminal.

gksudo and kdesudo both are also sudo thing except that first one is use for graphical sudo operation which works using GUI instead of terminal and second one is gksudo alternative for Kubuntu.

And a short note from wiki

You should never use normal sudo to start graphical applications as Root.You should use
gksudo (kdesudo on Kubuntu) to run such programs. gksudo sets HOME=~root, and copies
.Xauthority to a tmp directory. This prevents files in your home directory becoming
owned by Root. (AFAICT, this is all that's special about the environment of the started
process with gksudo vs. sudo).


Πηγή:http://askubuntu.com/questions/425620/sudo-gksudo-kdesudo-and-their-differences

Το σφάλμα σε μένα μάλλον προέκυψε γιατί έδωσα
Κώδικας: Επιλογή όλων
sudo kate /etc/modprobe.d/rtl8723be.conf

και όχι
Κώδικας: Επιλογή όλων
kdesudo kate /etc/modprobe.d/rtl8723be.conf


Στο παρελθόν πάντως έχω χρησιμοποιήσει πάρα πολλές φορές το sudo αντι του kdesudo και δεν προέκυψε ποτέ κάποιο σφάλμα ή πρόβλημα