FreeBSD Security Advisory FreeBSD-SA-03:12.openssh
Chuck Swiger
cswiger at mac.com
Wed Sep 17 12:24:36 PDT 2003
Jacques A. Vidrine wrote:
> On Wed, Sep 17, 2003 at 02:39:14PM -0400, Jonathan Lennox wrote:
[ ... ]
>> On FreeBSD 5.0 and later, wouldn't it be both simpler and safer to
>> recommend
>> # /etc/rc.d/sshd restart
>> instead?
This can be dangerous if you are ssh'ed in, and the restart kills your
connection rather than the daemon.
> Then there would be two sets of instructions, which sucks.
>
> I think we'll just not do it quite completely and go with
>
> # kill `cat /var/run/sshd.pid`
> # /usr/sbin/sshd
This is good.
--
-Chuck
More information about the freebsd-security
mailing list