Date: Tue, 15 Jan 2002 05:30:58 -0500 From: Brian T.Schellenberger <bts@babbleon.org> To: "Mike Meyer" <mwm-dated-1011455737.3e0c77@mired.org> Cc: questions@freebsd.org Subject: Re: Restarting a service Message-ID: <087922431100f12FE6@Mail6.nc.rr.com> In-Reply-To: <15426.65401.224226.567679@guru.mired.org> References: <15426.65401.224226.567679@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 14 January 2002 10:55 am, Mike Meyer wrote: > Brian T.Schellenberger <bts@babbleon.org> types: > > On Sunday 13 January 2002 07:24 pm, zhuravlev alexander wrote: > > > > How do I do the equivelent in FreeBSD? > > > > > > ps -auxww | grep sshd -you will find PID of ssh daemon > > > then simple > > > kill -HUP PID(which you get from prev step) > > > > simpler yet, just > > > > killall -HUP sshd > > > > should do it. > > > > (killall is basically ps -aux | grep | kill all wrapped up into a neat > > automated package for you) > > I thought about pointing that out, but for sshd it's a bad > idea. Unless you want to log off everyone logged in via ssh at the > same time, that is. Ah. Good point. > > <mike -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org -------> Free Dmitry Sklyarov! (let him go home) <----------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?087922431100f12FE6>