auth.log filling up

Get help from the community here.

Moderator: Developers

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

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 ( ... -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
-Above this line, add the following:
-session [success=1 default=ignore] 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?

Who is online

Users browsing this forum: No registered users and 1 guest