[Bug 12102] New: kdesu says: "program 'su' not found in PATH" if sudo binary is missing

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Wed Jun 22 23:35:00 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=12102
Ubuntu | kdebase-bin

           Summary: kdesu says: "program 'su' not found in PATH" if sudo
                    binary is missing
           Product: Ubuntu
           Version: unspecified
          Platform: i386
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kdebase-bin
        AssignedTo: debzilla at ubuntu.com
        ReportedBy: amg1127 at gmail.com
         QAContact: kubuntu-bugs at lists.ubuntu.com


I don't want to install 'sudo' in my kubuntu installation. I don't care if I must type the root password every time I must root 
privileges. So, I decided to remove sudo: 
 
# apt-get remove sudo 
 
The 'su' binary works well, but 'kdesu' (and other KDE apps that need root privileges) don't work, even if I type my user password 
or the root password. when I execute: 
 
$ kdesu kcalc 
 
It asks for my user password (not root password) and, then, says "program 'su' not found in PATH". 
 
I think 'kdesu' is looking for the 'sudo' binary. But I don't want to use 'sudo'... I couldn't find a configuration file that tells 
'kdesu' to try to use 'su' instead of 'sudo'. Instead, I found a #define statement at (kdebase-bin)/kdesu/kdesu/kdesu.cpp that 
allows 'kdesu' to choose 'su' or 'sudo' by default. I know changes at kdesu.cpp takes effect only after rebuilding 'kdebase-bin' 
packagebut it will take much time in my old computer. 
 
Can you help me... 
...by telling me where is the kdesu configuration file? 
...by rebuilding kdebase-bin package? 
...by showing a 'sudoers' file that makes 'sudo' works like 'su'?

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kubuntu-bugs mailing list