If the user has no shell then probably `sudo -u $user podman` may still work?
If the user has no shell then probably
sudo -u $user podman may still work?sudo -u $user podmannsenter -t 1 to get real rootpodman exec -it -u 0:0 into the container and then do passwd $youruserincontainer <- that worked--privileged and removed the /etc/selinux mountRunInit=true which would execute /sbin/init, and there's the Exec= which runs sleep just to get the container going--rootfs /:Ojust work in regular fedora and we're bucking the system with the silverblue stuffnsenter -t 1bash-5.2# sudo -u fullu podman exec -it cf7 passwd
Changing password for fullu.
Current password:
passwd: Authentication token manipulation errorpodman exec -it -u 0:0passwd $youruserincontainer$ sudo su
[sudo] password for fullu:
fullu is not in the sudoers file. This incident will be reported.
$ dpkg: error processing archive /var/cache/apt/archives/libpython3.10-minimal_3.1
0.12-1~22.04.2_amd64.deb (--unpack):
new libpython3.10-minimal:amd64 package pre-removal script subprocess returned
error exit status 2
dpkg (subprocess): cannot set security execution context for maintainer script:
Invalid argument--privilegedRunInit=trueExec=--rootfs /:Ojust work