The changes in pam_env.conf for pam-0.77-r1 break environment when you log in via sshd as user and make "su -l" to root. A cd to $HOME fails because $HOME is no longer set... Reproducible: Always Steps to Reproduce: 1. log in as user via sshd 2. make su -l to become root 3. type "cd" into Terminal Expected Results: set complete enviroment as former versions as a workaround set $HOME in your .profile
I don't know if I need to report this as a new bug, but for the moment I will put the comment inhere. The changes to the /etc/security/pam_env.conf breaks also the X11 forwarding by setting the DISPLAY to the value host:0.0. A workaround is to comment the DISPLAY= ... line in the pam_env.conf. But this bug is very annoying since the X11 forwarding is VERY used.
The problem noted in #1 is covered by bug 70585. As for the submitted bug itself, I can't seem to reproduce it, and there's nothing in pam_env.conf that should cause it. Did you modify it at all? Perhaps you supply more details about your setup.
This was a bug in shadow - please update to shadow-4.0.6 (i think) or even better shadow-4.0.7.