D12795: Re-allow running Dolphin as the root user (but still not using sudo)

Mark Gaiser noreply at phabricator.kde.org
Fri May 11 19:00:58 BST 2018


markg added a comment.


  In D12795#260849 <https://phabricator.kde.org/D12795#260849>, @zzag wrote:
  
  > In D12795#260848 <https://phabricator.kde.org/D12795#260848>, @ngraham wrote:
  >
  > > The problem is that `USER` is always set to "root" when you use `sudo`. That's why `SUDO_USER` exists, as far as I know.
  >
  >
  > It looks like kdesu sets KDESU_USER.
  
  
  Why is kdesu doing it's own thing?
  I always considered kdesu to be the "graphical sudo" version.. Can't it just set the environment variables that sudo uses? Perhaps set additional ones if needed, but that it is - in terms of environment variables - compatible with sudo?

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D12795

To: ngraham, markg, elvisangelaccio
Cc: elvisangelaccio, mmustac, Fuchs, markg, graesslin, nicolasfella, zzag, kfm-devel, emmanuelp, spoorun, navarromorales, isidorov, firef, andrebarros
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180511/cd6d9129/attachment.htm>


More information about the kfm-devel mailing list