Status | Assigned | Task | ||
---|---|---|---|---|
Open | None | T12165 KDESu | ||
Open | None | T12166 KDESu: Close fds manually instead of relying on KService |
Do we still expect to have any users of kdesu? Most apps were probably ported to polkit already.
Good question. https://lxr.kde.org/search?_filestring=&_string=KF5%3A%3ASu says konqueror/plugins/shellcmdplugin and workspace/kde-cli-tools/kdesu.
I'm fine with SU support being removed from the shellcmdplugin, but we definitely need the kdesu executable, useful for end users, to remain. At least this means the framework could be merged into the executable in kde-cli-tools.
Do you think it could use polkit? Or is this about an embedded root terminal or something?
I think it's just using some kdesu functions to communicate with command line programs (cvs?) and nothing to do with root (but I only had a brief look at it).
From today's meeting: KDESu::PtyProcess seems to predate KPtyProcess and that's likely the reason the former is used. Unless we are missing something and cvs(?) actually needs to be run as root