auth.log filling up

Get help from the community here.

Moderator: Developers

marts01
Posts: 1
Joined: Wed Dec 31, 2014 5:39 am

auth.log filling up

Postby marts01 » Wed Dec 31, 2014 5:53 am

Hi, Just upgraded our GO server. I noticed that the auth.log is filling up with the following log messages every minute;

"CRON[26128]: pam_unix(cron:session): session opened for user www-data by (uid=0)"

I see that it is from;

A cron job within GO -> * * * * * www-data php /usr/share/groupoffice/groupofficecli.php -r=core/cron/run -c=/etc/groupoffice/config.php > /dev/null
(REF: https://www.group-office.com/wiki/Cron_user_manual)

So, therefore it is working fine, but are there any drawbacks to filling up the auth.log? Is there anyway to stop these messages? I did find one way, which comes from a blog (http://languor.us/cron-pam-unix-cron-se ... -root-uid0)

-Go to the /etc/pam.d directory.
-Open the file common-session-noninteractive in an editor.
-Look for the following line:
-session required pam_unix.so
-Above this line, add the following:
-session [success=1 default=ignore] pam_succeed_if.so service in cron quiet use_uid
-Save the file and exit.
-Restart crond using something like service cron restart.

Do you foresee any issues using this, or is it even necessary?
ty,
m

Return to “General help”

Who is online

Users browsing this forum: No registered users and 4 guests

cron