Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh

From: Matthew Dillon (dillon_at_apollo.backplane.com)
Date: 09/17/03

  • Next message: Robin Smith: "Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh"
    Date: Wed, 17 Sep 2003 12:36:02 -0700 (PDT)
    To: Chuck Swiger <cswiger@mac.com>
    
    

    :[ ... ]
    : >> 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.

        All the restart target does is basically kill the pid using the pid file
        and then restart the daemon, so it is no more dangerous then the below.

                                            -Matt
                                            Matthew Dillon
                                            <dillon@backplane.com>

    : > 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
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"


  • Next message: Robin Smith: "Re: FreeBSD Security Advisory FreeBSD-SA-03:12.openssh"

    Relevant Pages