- if operating "as them" (su -l), use pam_{open,close}_session() - allow PAM to override $HOME (pam_chroot needs this) - chdir early, because later on we may be chrooted and chdir will fail Also use pid_t instead of int where applicable. |
||
---|---|---|
.. | ||
Makefile | ||
su.1 | ||
su.c |