Skip to content

Instantly share code, notes, and snippets.

View NipunEranda's full-sized avatar
🏠
Working from home

Nipun Amarasekara NipunEranda

🏠
Working from home
View GitHub Profile
@NipunEranda
NipunEranda / chromeos-117-sudo-howto.md
Created April 29, 2024 14:49 — forked from velzie/chromeos-117-sudo-howto.md
Re-Enable sudo from crosh on R117+ Chrome OS without recompiling

Short guide on how to bypass this:

image

If you haven't disabled rootfs verification, switch to vt-2 and run /usr/libexec/debugd/helpers/dev_features_rootfs_verification. Then reboot.

Inside crostini, download minioverride.c and compile it with gcc minioverride.c -o minioverride.so -shared (make sure gcc is installed)

In the files app, move minioverride.so into your downloads folder.