cvs commit: src/libexec/rexecd rexecd.c
Dag-Erling Smørgrav
des at des.no
Fri Apr 8 06:58:17 PDT 2005
Jacques Vidrine <nectar at FreeBSD.org> writes:
> Thanks for fixing, DES. Only, you have re-introduced some of the
> bugs. You need to use getpwnam_r or copy the contents of the returned
> struct passwd before continuing.
Hmm, actually it should be sufficient to re-getpwnam() after the call
to pam_setcred() in the child. There's nothing else that has the
potential to screw up pwd.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the cvs-src
mailing list