What needs to be configured for a user to execute rootless Podman commands without using SSH?
Issue
- When using
podmanas a rootless user, typically that user must have gained access to the system viasshin order to ensure all the correct settings and variables are in place forpodmanto execute properly under that user. - When using
sshto log in as a user, rootlesspodmancommands work fine, however when usingsuorsu - myuser, I get errors when runningpodmancommands. - What settings must be enabled to ensure that a user does not need to use
sshto gain access to a system, but can still execute rootlesspodmancommands? - Rootless
podmancommands fail withError: could not get runtime: cannot re-exec process
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
podmanexecuted as a non-root user
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.