I've seen these in my system logs (and via logcheck) a lot, and didn't know where to start looking:
Jul 14 14:13:17 server login[13066]: PAM pam_putenv: delete non-existent entry; . /etc/postgresql/postgresql.env Jul 14 14:13:17 server PAM_unix[13066]: (login) session opened for user will by (uid=0) i tried a ssh login, and finally managed to get it to work (instead of sick and twisted telnet) and in addition to /etc/motd and 'no mail' i saw this: Bad line in /etc/environment: . /etc/postgresql/postgresql.env in /etc/environment, there's nothing but two lines: LANG=C . /etc/postgresql/postgresql.env and 'dot' is sh/bash shortcut for 'source commands from ~'... % cd /etc % grep -r /etc/environment * pam.d/login:# This module parses /etc/environment (the standard for setting postgresql/postgresql.env:# /etc/environment: i checked /etc/pam.d/login and found # This module parses /etc/environment (the standard for setting # environ vars) and also allows you to use an extended config # file /etc/security/pam_env.conf. # (Replaces the `ENVIRON_FILE' setting from login.defs) auth required pam_env.so i do also still have a vestigial /etc/pam.conf file, but it's tiny and nothing but comments. so what have i broken?