Im trying to get a docker container running to mange my cronjobs
im running a very simple cron as a test in a docker container using centOS 6.5 base
@dwitz's answer is correct but I had to alter the sed command a bit to make it work for me on Ubuntu 16.04 within a docker container.
sed
cat /etc/pam.d/cron |sed -e "s/required pam_loginuid.so/optional pam_loginuid.so/g" > /tmp/cron && mv /tmp/cron /etc/pam.d/cron