News for hackers. Stuff that matters.
Re:Show HN: Boulette - Protect you from yourself (even as ro... by jcalvinowens on Friday January 10, 2025 @11:19AM (#42656993)
If it's Linux, you can bind-mount the rootfs read-only and chroot into it:

    mahler ~ # mkdir /roroot
    mahler ~ # mount -o bind,ro / /roroot
    mahler ~ # chroot /roroot
    mahler / # passwd
    Enter new password: 
    Re-type new password: 
    passwd: Authentication token lock busy
    passwd: password unchanged
Re:Show HN: Boulette - Protect you from yourself (even as ro... by dmd on Friday January 10, 2025 @11:22AM (#42657023)
Oh, that's a good idea.