Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
krunck
· 7mo ago · 0 comments
Wow. I tried it on an old testing VM of Ubuntu 24.04 that had not been touched for a few months. Instant root with the bonus that any user that runs "su" gets root too. I updated the VM thinking it would be fixed afterward. Nope.
Comments
[–]
akdev1l
7mo ago
You’d have to reinstall the su binary itself I guess
[–]
cyberpunk
7mo ago
It just changes the page cache for the su binary, a reboot will revert it.
[–]
majorchord
7mo ago
No need to reboot:
sync && echo 3 >/proc/sys/vm/drop_caches