[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] It's nice



On Fri, 29 Jun 2001, Zeffie wrote:

> yuck....  /etc/rc.d/init.d/sshd2 restart
> This can suck when your logged in via ssh so have fun... I like to start a
> second instance and kill the old one after I have "re-logged in" using the
> new port... then I useally "kill" the original process...

you can BG the program... /etc/rc.d/init.d/sshd2 restart &
(note the & in the end)
that way the parent process will die, but the init script will run fine 
till the end...

- shimi.