Get the latest tech news

Bootstrapping Alpine Linux without root


sudo chroot without sudo... and mostly without the chroot

There is one more complication with remapped uids and unshare that I've skipped over in the above example to make it clearer, but the command inside the namespace most likely cannot start. Flashing the image to a fastboot capable device should be pretty easy without root privileges, it only requires an udev rule that is usually already installed by the android-tools package on various Linux distributions. The code for this is in the~martijnbraam/ambootstrap repository, hopefully in some time I get this to actually write a plain Alpine Linux image to a phone :D

Get the Android app

Or read this on Hacker News

Read more on:

Photo of root

root

Photo of alpine linux

alpine linux

Related news:

News photo

Cisco bug lets hackers run commands as root on UWRB access points

News photo

QNAP patches second zero-day exploited at Pwn2Own to get root

News photo

Can you get root with only a cigarette lighter?