+++ to secure your transactions use the Bitcoin Mixer Service +++

 

Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores

r/Kicksecure

members
online

How to use podman rootlessly How to use podman rootlessly

How can I use podman without root? I installed podman with sudo apt install podman -y

It works fine when I use sudo, like sudo podman ps, but when I try to run something with podman without root privileges like podman ps I get:

ERRO[0000] running /usr/bin/newuidmap 3450 0 1000 1 1 100000 65536: Error: cannot set up namespace using "/usr/bin/newuidmap": should have setuid or have filecaps setuid: fork/exec /usr/bin/newuidmap: permission denied zsh: exit 125 podman ps

https://preview.redd.it/how-to-use-podman-rootlessly-v0-bd7j2lh5xixc1.png


Should I enable back msr kernel module? Should I enable back msr kernel module?

There are two conflicting arguments regarding msr module:

  1. The MSR kernel module is disabled to prevent CPU MSRs from being abused to write to arbitrary memory.

  2. Disabling CPU MSRs breaks CPU temperature control.

Also I'm getting this error on boot:
localhost systemd-modules-load[799]: Error running install command '/usr/bin/disabled-msr-by-security-misc' for module msr: retcode 1

localhost systemd-modules-load[799]: Failed to insert module 'msr': Invalid argument

localhost systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE

localhost systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

localhost systemd[1]: Failed to start systemd-modules-load.service - Load Kernel Modules.