cvs commit: src/usr.bin/su su.c
Dag-Erling Smorgrav
des at FreeBSD.org
Tue Apr 8 09:59:54 PDT 2003
des 2003/04/08 09:59:53 PDT
FreeBSD src repository
Modified files:
usr.bin/su su.c
Log:
PAM-related improvements:
- 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.
Revision Changes Path
1.68 +59 -37 src/usr.bin/su/su.c
More information about the cvs-src
mailing list