freebsd-dev/usr.bin/su
Luoqi Chen 5a8e64ee60 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.
2006-09-29 04:41:37 +00:00
..
Makefile Integrate audit_submit(3) bits into su. This means that records for 2006-09-01 13:39:02 +00:00
su.1 Remove references to the pam(8) manual page. It does not exist. 2006-09-13 17:46:20 +00:00
su.c Do not chdir(2) until after setuid(2), otherwise "su - username" would fail 2006-09-29 04:41:37 +00:00