Thanks again for your response.
doktor5000 wrote:kdesu has nothing to do with systemd, and also not with sudo.
Yes, I think you're right.
doktor5000 wrote:Can't tell for cauldron, but in Mageia 2 kdesu comes with kdebase4-runtime, but the problem is it's not in $PATH.
kdebase4-runtime was also installed.
doktor5000 wrote:E.g. i created a symlink to be able to use it easily:
[doktor5000@Mageia2 ~]$ ls -al /usr/bin/kdesu
lrwxrwxrwx 1 root root 29 Jan 19 18:59 /usr/bin/kdesu -> /usr/lib64/kde4/libexec/kdesu*
If you want to use sudo with GUI apps, you probably need to use sudo -E to preserve your environment variables.
This is the case since at least Mageia 1. I'm using an alias for that, works fine:
- Code: Select all
[doktor5000@Mageia2 ~]$ alias sudo
alias sudo='sudo -E'
I did the above link and alias, unfortunately, I still could not get kdesu to work.
- Code: Select all
ls: cannot access /usr/bin/kdesu: No such file or directory
but alias command has no error and I assume is performed.
I then use "ln" instead of "ls" thinking it might be a typo, but same error message.
doktor5000, this is not a show-stopper (meaning it is not a big deal as I can still go to root terminal "su -" and do my things there) but I want to thank you again for your help. Having sudo alone is a great utility itself and I was hoping to use kdesu as well.
Danke.
Why do we live? To prove not everything in nature has a purpose.