Date: Fri, 08 Apr 2005 15:58:10 +0200 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) To: Jacques Vidrine <nectar@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/libexec/rexecd rexecd.c Message-ID: <8664yx2wwd.fsf@xps.des.no> In-Reply-To: <6715759dfc36ac3b48dc3efe8cfcd07d@FreeBSD.org> References: <200504081119.j38BJoZf036618@repoman.freebsd.org> <6715759dfc36ac3b48dc3efe8cfcd07d@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jacques Vidrine <nectar@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 --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8664yx2wwd.fsf>