--- shadow-4.0.5/src/su.c 2004-11-07 20:51:54.992246016 +0200 +++ shadow-4.0.5.az/src/su.c 2004-11-07 20:47:56.972430528 +0200 @@ -684,7 +684,7 @@ envcp = pam_getenvlist (pamh); if (envcp) { while (*envcp) { - putenv (*envcp); + addenv (*envcp, NULL); envcp++; } }