Originally posted by kubicle
View Post
[COLOR=#ff0000]- [/COLOR] [s]std::cout << "Executing Dolphin as root is not possible." << std::endl;[/s]
[COLOR=#ff0000]- [/COLOR] [s]return EXIT_FAILURE;[/s]
[COLOR=#008000]+ [/COLOR] if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
[COLOR=#008000]+[/COLOR] std::cout << [COLOR=#ff0000]"Executing Dolphin with sudo is not possible due to unfixable security vulnerabilities[/COLOR]." << std::endl;
[COLOR=#008000]+[/COLOR] return EXIT_FAILURE;
[COLOR=#008000]+ [/COLOR] } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
[COLOR=#008000]+[/COLOR] std::cout << [COLOR=#ff0000]"Executing Dolphin with kdesu is not possible due to unfixable security vulnerabilities.[/COLOR]" << std::endl;
[COLOR=#008000]+ [/COLOR] return EXIT_FAILURE;
+ }

yes I just figured out how to use the kdialog to launch kate like this ,,,,,,around the time you were posting this I'm guessing ...export EDITOR=/usr/bin/kate ; export SUDO_ASKPASS=/home/vinny/test/kdialog1 ; sudoedit -A /etc/fstab


There are 0 users viewing this topic.
Leave a comment: