BSD/OS with privsep

Markus Friedl markus at openbsd.org
Wed Jun 26 00:20:40 EST 2002


do_setusercontext() was written to setup the env for the
loginshell or command run by the user. using it for
the unpriv thing might cause problems, but people should check.

-m

On Tue, Jun 25, 2002 at 09:07:02AM -0500, Ben Lindstrom wrote:
> 
> Hmm... I'd have to look closer, but there are portable related things
> called in do_setusercontext().  do we still have root at this time?
> 
> On Tue, 25 Jun 2002, Niels Provos wrote:
> 
> > On Tue, Jun 25, 2002 at 12:40:24PM +0200, Markus Friedl wrote:
> > > perhaps we should not call do_setusercontext() after
> > > chroot().
> > Your suggestion of a more light-weight function seemed fine to me.
> > Any reasons why the below should not work everywhere else?
> >
> > Niels.
> > _______________________________________________
> > openssh-unix-dev at mindrot.org mailing list
> > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> >
> 
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list