Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Ferret7446
· 6mo ago · 0 comments
That is one of many reasons to keep your dotfiles under version control.
Comments
[–]
lrvick
6mo ago
Someone that can wrap your sudo binary can wrap you git binary too. Once your OS is compromised all bets are off.
[–]
lpribis
6mo ago
How would that help? Unless you happen to check the dotfiles git diff before running _anything_. I guess this could be put in prompt or some cron job to detect diffs but I bet absolutely nobody does this.