groet
@groet@feddit.org
- Comment on Rootless docker and symlink to docker.sock security issues 12 hours ago:
Podman is pretty mutch a drop in replacement for docker but it runs in user context instead if root.
All docker commands work with podman by just replacing the name including podman compose.
(You do have to specify docker.io as a repository if you want to pull images from docker hub but that is literally the only difference In usage I ever noticed)
- Comment on Rootless docker and symlink to docker.sock security issues 22 hours ago:
- is there a reason you don’t use podman instead of rootless docker?
- can you run patchmon inside of docker and mount the socket to the original path inside of the container?
- the symlink has the file permissions of the file it points to. If the socket is owned by a user, so will the symlink, even if you used root/sudo to create the link. (technically the symlink will be owned by root, but the permissions on a symlink are ignored and the permission of the target are used)
- as long as you don’t change any permissions on
/var/runor on thedocker.sockto be more permissive than they are now, there is functionally no difference in security 4.5) If you or someone else on the system tries to run docker with a different user/root, the symlink will likely cause issues
- Comment on The Mongol Empire - the most powerful nomadic empire in history 5 days ago:
Tibet, Tajikistan, Pakistan, northern Afghanistan, iran all regions known for their lack of mountains
- Comment on How do you protect a remote backup from a compromised account? 5 days ago:
Yeah precice phrasing ia hard sometime. I was refering to delete/modify of files as “changes to the fs”. Not sure how changing the actuall fs would be relevant to the backup question.
OP needs a restricted shell that can take backup data and write it to disk but not be able to modify anything that is already there. Nano and rsync can both do that.
- Comment on How do you protect a remote backup from a compromised account? 5 days ago:
Nano and rsync are 100% designed to modify the filesystem. But yes the idea is correct.
Same with got over ssh, you restrict the connection to the got shell that can only do the things you want.
- Comment on The sun never sets....blahh blahh!! 2 weeks ago:
Yeah the sun never sets in the French overseas territories