Unable to make / delete entry for specified session - cron

I am running docker on amazon linux. I set the cron job for a specific action. It returns an error message. Unable to make / delete a record for the specified session . Docker version: 1.12.6 (client and server) API version: 1.24 (client and server)

+4
source share
1 answer

This error usually occurs due to a pam protection problem.

Recently, the last one has been fixed: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726661 and in Ubuntu Wily (15.10).

pam_loginuid.so /etc/pam.d/cron cron ( ).

- Docker:

RUN sed -i '/session    required     pam_loginuid.so/c\#session    required   pam_loginuid.so' /etc/pam.d/cron
+7

Source: https://habr.com/ru/post/1674478/


All Articles