kdesu default super-user-command

Alexander Neundorf neundorf at kde.org
Thu Nov 22 17:18:55 GMT 2007


On Thursday 22 November 2007, Thomas Friedrichsmeier wrote:
> Hi again,
>
> On Wednesday 21 November 2007, Thomas Friedrichsmeier wrote:
> > In KDE3, revision 571012 changes the default super-user-command to "su",
> > back from "sudo" (added less than 24 hours before that). Revision 592501
> > makes the default a build-time configuration option. Neither seems to
> > have been forward-ported to KDE 4 (where the default is hard-coded as
> > "sudo"). I could not find anything about this on the mailing lists. So:
> > Is this a deliberate decision or an oversight?
>
> no reply so far, so I'll be more specific:
>
> I'd like to apply the attached patch (kdelibs/kdesu/). This reverts the
> default super user command in kdesu back to "su" from "sudo", and adds a
> cmake switch to change the default to "sudo".

Why does that need to be done at compile time ?
Wouldn't reading that from a config file be good enough ?

Alex




More information about the kde-core-devel mailing list