Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #183784

Re: systemd & postgresql - flooding system log

From Don Armstrong <don@debian.org>
Newsgroups linux.debian.user
Subject Re: systemd & postgresql - flooding system log
Date 2017-07-17 21:50 +0200
Message-ID <u4kbM-Pt-21@gated-at.bofh.it> (permalink)
References (2 earlier) <u3E2S-7j3-19@gated-at.bofh.it> <u3OOB-65Y-1@gated-at.bofh.it> <u3PhD-6gu-1@gated-at.bofh.it> <u3UU1-1vy-3@gated-at.bofh.it> <u3Vdo-1Sn-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 16 Jul 2017, Erwan David wrote:
> Le 07/16/17 à 18:32, Don Armstrong a écrit :
> > If you don't care about this in your log, then you can either filter it,
> > or comment out pam_unix in /etc/pam.d/common-session-noninteractive.
>
> Commenting it will remove authentication methods ?

No. That's a session module, not an auth module. If you comment it out
from /etc/pam.d/common-auth, *then* bad things will happen.

Quoting from pam_unix(8):

  "The session component of this module logs when a user logins or leave the system."

You can read the source yourself, too:

http://sources.debian.net/src/pam/1.1.8-3.6/modules/pam_unix/pam_unix_sess.c/#L99

-- 
Don Armstrong                      https://www.donarmstrong.com

"A one-question geek test. If you get the joke, you're a geek: Seen on
a California license plate on a VW Beetle: 'FEATURE'..."
 -- Joshua D. Wachs - Natural Intelligence, Inc.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

systemd & postgresql - flooding system log Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-07 16:30 +0200
  Re: systemd & postgresql - flooding system log Michael Biebl <biebl@debian.org> - 2017-07-07 23:00 +0200
    Re: systemd & postgresql - flooding system log Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-08 09:40 +0200
      FYI: systemd session logging - no solution Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-10 17:10 +0200
        Re: FYI: systemd session logging - no solution Joel Rees <joel.rees@gmail.com> - 2017-07-11 15:30 +0200
        Re: FYI: systemd session logging - no solution Reco <recoverym4n@gmail.com> - 2017-07-12 13:00 +0200
      Re: systemd & postgresql - flooding system log Don Armstrong <don@debian.org> - 2017-07-15 00:30 +0200
        Re: systemd & postgresql - flooding system log Michael Biebl <biebl@debian.org> - 2017-07-15 00:50 +0200
          Re: systemd & postgresql - flooding system log Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-16 00:50 +0200
            Re: systemd & postgresql - flooding system log Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-16 12:20 +0200
              Re: systemd & postgresql - flooding system log Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-16 12:50 +0200
                Re: systemd & postgresql - flooding system log Don Armstrong <don@debian.org> - 2017-07-16 18:50 +0200
                Re: systemd & postgresql - flooding system log Erwan David <erwan@rail.eu.org> - 2017-07-16 19:10 +0200
                Re: systemd & postgresql - flooding system log Don Armstrong <don@debian.org> - 2017-07-17 21:50 +0200
                Re: systemd & postgresql - flooding system log - SOLUTION Václav Ovsík <vaclav.ovsik@gmail.com> - 2017-07-17 09:10 +0200

csiph-web