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.