Allow starting kwin_wayland as root
Running a Plasma Wayland session as root is not insecure, it is in fact the opposite. There is no way for other users to somehow influence this session due to the user separation and the user is more likely to only use this for administrative actions. This is in contrast to regular user sessions, which most likely start a mix of unprivileged programs next to privileged windows like some with authorized kauth helpers or even just sudo in a konsole tab.
This commit is contained in:
parent
9521ca1e56
commit
63a2a88e6c
1 changed files with 0 additions and 4 deletions
|
@ -362,10 +362,6 @@ void dropNiceCapability()
|
|||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
if (getuid() == 0) {
|
||||
std::cerr << "kwin_wayland does not support running as root." << std::endl;
|
||||
return 1;
|
||||
}
|
||||
KWin::disablePtrace();
|
||||
KWin::Application::setupMalloc();
|
||||
KWin::Application::setupLocalizedString();
|
||||
|
|
Loading…
Reference in a new issue