Not able to execute system programs as superuser from console
Bug #223264 reported by
SerGuMa
This bug report is a duplicate of:
Bug #191264: KDE4: sudo removes /usr/lib/kde4/bin from PATH: e.g. "sudo kate" fails.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase-workspace (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Using Kubuntu 8.04 with KDE4
The bug I encountered prevents me from executing any system preinstalled program as superuser from the console.
For example, if I want to open kate to edit a system file, and I type sudo kate I get a "command not found" message (kdesudo kate or kdesu kate do the same thing).
If I write kate without the sudo part it works as intended, but without superuser privileges (obviously).
The same thing happens with dolphin, konqueror, etc.
If I type the direct route (found with the "which" command) everything works as intended, for example "kdesu /usr/lib/
To post a comment you must log in.
Behaves the same for me too. /usr/lib/kde4/bin is in the path .... I even tried adding it to the path via /etc/environment and rebooting and kdesudo-kde4 still doesn't pick up on it.