Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2000 13:23:48 -0700 (PDT)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Ollivier Robert <roberto@keltia.freenix.fr>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/crypto/openssh sshd.c 
Message-ID:  <Pine.BSF.4.21.0007041323190.3042-100000@freefall.freebsd.org>
In-Reply-To: <15686.962741769@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jul 2000, Poul-Henning Kamp wrote:

> In message <Pine.BSF.4.21.0007041312180.97063-100000@freefall.freebsd.org>, Kri
> s Kennaway writes:
> >On Tue, 4 Jul 2000, Ollivier Robert wrote:
> >
> >> According to Brian Feldman:
> >> >   Modified files:
> >> >     crypto/openssh       sshd.c 
> >> >   Log:
> >> >   MFF:
> >> >   Allow restarting on SIGHUP when the full path was not given as argv[0].
> >> >   We do have /proc/curproc/file :)
> >> 
> >> [ Following Wes & Robert's messages ]
> >> 
> >> I'm not happy about that either. I know that /proc is not really optional
> >> these days but it reminds me too much of the [in] /proc/curproc/cmdline Linux
> >> thingy that bit us in early Star Office days...
> >
> >Well, the problem is that sshd tries to use argv[0] to respawn itself when
> >it gets a sighup, and unless it's run with an absolute path then it will
> >just die instead.
> 
> That's fine, we're used to sendmail, named and gated doing that as well.

In those cases you probably won't lock yourself out of the machine
altogether with no way to get back in.

Kris

--
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007041323190.3042-100000>