[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: can't run as root with netbsd-5
On Fri, Mar 06, 2009 at 12:40:02PM -0600, Eric Haszlakiewicz wrote:
> Andrew Doran wrote:
> >I think it's a bug where _your_ process limit is considered at some point,
> >regardless of the fact that the binary is suid/sgid. I can't remember the
> >exact details, including at what point it occurs. If you sprinkle printfs
> >find out where the error is coming from, and what the various credentials
> >involved are, we should be able to figure out what to do.
> Except that sshd was started from /etc/rc at boot time, so my non-root
> process limit shouldn't have been in the picture at all, and root logins
> through there had the same problem.
Like I said I don't remember the exact details, but I do know there is a bug
where an incorrect limit is inforced. If you add printfs to the checks in
fork/exec you will be able to determine if it is that particular bug or not.
Main Index |
Thread Index |