logoalt Hacker News

lrvicktoday at 8:45 AM1 replyview on HN

A simple LD_PRELOAD command can cause your shell to run "rm -rf /" when you type "/sudo".

If your unprivileged user is compromised, you are pretty hosed.


Replies

anthktoday at 10:43 AM

It should be a way to make system env vars (profile.d or simlar) as readonly so every users' shell had these set to empty values and unable to change them.

show 1 reply