Mail archive
alpine-devel

Re: [alpine-devel] heads up: new behaviour of sshd stop

From: Timo Teräs <timo.teras_at_iki.fi>
Date: Tue, 16 Mar 2010 16:21:07 +0200

Natanael Copa wrote:
> 2010/3/16 Timo Teräs <timo.teras_at_iki.fi>:
>> Hi,
>>
>> Natanael Copa wrote:
>>> On Tue, Mar 16, 2010 at 9:50 AM, Harry Lachanas <grharry_at_freemail.gr>
>>> wrote:
>>>> Not convenient !!!
>>> /etc/init.d/sshd restart will not disconnect you
>>>
>>> Just don't run '/etc/init.d/sshd stop' alone and you'll be safe.
>> Right. Isn't the standard behaviour that before executing umount and
>> otherstuff, some other initscript runs killall5 to kill any remaining
>> user processes.
>>
>> Yes, alpine killprocs does that. You just need to run it before
>> umounting disks.
>
> and before shutting down the network so current sessions are closed cleanly.

Huh? "ifconfig ethX down" will kill all your ssh connections for you.
I think killprocs is ok to be run just only before unmounting disks.

- Timo



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Mar 16 2010 - 16:21:07 UTC