From 5c427f79603de7bdc944dff5975836349a3c9c75 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Tue, 10 Mar 2020 19:42:16 +0100
Subject: [PATCH] Removed PAM from aauthentication.

---
 Dockerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index ac91b94..e65cb31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,5 +6,7 @@ RUN pip3 install Mastodon.py feedparser feed2toot
 RUN pip install Mastodon.py
 RUN mkdir /root/.config
 
+RUN sed -i '/session    required     pam_loginuid.so/c\#session    required   pam_loginuid.so' /etc/pam.d/cron
+
 # Run the command on container startup
 CMD crontab /etc/cron.d/* && cron -f
-- 
GitLab