Hi,
I am learning to use podman on FreeBSD, and so far everything is looking fine. I just stumbled upon the need to run podman on FreeBSD as root, which results in the podman socket (/var/run/podman/podman.sock) being only accessible by the root user as well. This is a problem when I try to connect to the socket remotely via ssh (i.e. via a podman connection using ssh as a transport protocol), for which I have to enable root access in ssh - not a good idea.
I use the workaround of making the podman socket accessible to all users by changing its permissions to 666, so I can access it remotely using my normal account. Is this a good idea or do I miss anything important? No other users work on the server, so there should not be any problems, right?
I am learning to use podman on FreeBSD, and so far everything is looking fine. I just stumbled upon the need to run podman on FreeBSD as root, which results in the podman socket (/var/run/podman/podman.sock) being only accessible by the root user as well. This is a problem when I try to connect to the socket remotely via ssh (i.e. via a podman connection using ssh as a transport protocol), for which I have to enable root access in ssh - not a good idea.
I use the workaround of making the podman socket accessible to all users by changing its permissions to 666, so I can access it remotely using my normal account. Is this a good idea or do I miss anything important? No other users work on the server, so there should not be any problems, right?