697
another CVE
(lemmy.nz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
The interesting thing is that bash allows writing this variable. I would've expected it to be readonly for obvious reasons.
USER is just an environment variable in the environment block like any other; even if Bash didn't allow changing it, any other program could.
Right? And while Linux generally seems to let you shoot yourself in your foot if you'd really like to, things like
--no-preserve-rootmean they do put SOME guardrails out there. lol. $USER seems worth making immutable. heh