trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.89k stars 69 forks source link

System/etc/profile.d: Always reset $UID #349

Closed pgeorgi closed 4 years ago

pgeorgi commented 4 years ago

Always reset $UID, so that it's updated when logging in through loginwindow.system (which already sets it to 0).

trunkmaster commented 4 years ago

@pgeorgi Login.app doesn't define nor touch $UID. /etc/profile.d/nextspace.sh make sense only for shells. AFAIK on Debian UID is not defined by default in common shells, RedHat-based OS is defined. Please look at issue #312 for example.