-
Use
sudo vim /etc/pam.d/common-session-noninteractive
to edit the settings -
Find this line
session required pam_unix.so
-
Then add the following script on top of this line
session [success=1 default=ignore] pam_succeed_if.so service in cron quiet use_uid
-
Restart cron service
sudo service cron restart
-
Finish
Last active
August 17, 2018 12:34
-
-
Save carry0987/73154cd7eba7066974de626672e2a39a to your computer and use it in GitHub Desktop.
RPi3-Disable-Cron-Pam-Unix-Session
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment