K 10 svn:author V 5 luoqi K 8 svn:date V 27 2006-09-29T04:41:37.000000Z K 7 svn:log V 295 Do not chdir(2) until after setuid(2), otherwise "su - username" would fail when root doesn't have the permission to enter target user's home directory. If set, PAM environment variable HOME will be used in chdir(2) instead of pwd->pw_dir, this allows pam_chroot module to continue to function. END