%wheel ALL=(ALL) NOPASSWD: ALL
effectively disabling sudo completely.
126 karma · joined March 8, 2022
%wheel ALL=(ALL) NOPASSWD: ALL
effectively disabling sudo completely.
https://www.redhat.com/sysadmin/podman-inside-container
You can run "capsh --print" to see your current capabilities. And to run a container without any capabilities:
podman run --cap-drop ALL -it fedora capsh --print
https://nvd.nist.gov/vuln/detail/CVE-2022-0492
and:
- https://opensource.com/article/19/2/how-does-rootless-podman...
- https://github.com/containers/podman/blob/main/docs/tutorial...
TL;DR
cgroup V2 support
Installing Podman
Install slirp4netns
Ensure fuse-overlayfs is installed
As simple as possible: Docker ("normally"): run every command inside container with full root permissions on host $root-> Docker -> container Docker/Podman ("rootless"): run every command as the current user $user-> container
Maybe take a look here for a better explanation: https://docs.docker.com/engine/security/#docker-daemon-attac...