lxd/lxc group
If you belong to lxd or lxc group, you can become root
Linpeas result
Escalation Steps
Prepare tools and create an image
You can install in your machine this distro builder: https://github.com/lxc/distrobuilder (follow the instructions of the github):
This will create two files: lxd.tar.xz and rootfs.squashfs.
Add the image
Initiate LXD
Create a container, add root path, and execute the container
Last updated