Closed plfiorini closed 6 years ago
The shell is not hardened enough to run as root.
If run as root, malicious applications could attack the shell and execute random code or try to gain more privileges exploiting it.
We already use logind to give unprivileged users access to DRI and input devices, this removes the need for running the shell as root.
Throw an error and exit if the uid is 0.
uid
The shell is not hardened enough to run as root.
If run as root, malicious applications could attack the shell and execute random code or try to gain more privileges exploiting it.
We already use logind to give unprivileged users access to DRI and input devices, this removes the need for running the shell as root.
Throw an error and exit if the
uid
is 0.