From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PhUjs-0004Rs-Dx for garchives@archives.gentoo.org; Mon, 24 Jan 2011 22:18:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47391E0A49; Mon, 24 Jan 2011 22:16:21 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id F0A23E0A49 for ; Mon, 24 Jan 2011 22:16:15 +0000 (UTC) Received: by wyf22 with SMTP id 22so6192483wyf.40 for ; Mon, 24 Jan 2011 14:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=O4EC8swLL72Fk0GHXDR7tuBz+1NGOppFqPclUDGJ7SY=; b=Y4BlFYZOwlJLFBcuLhXzeYJDeKvMsW3GPEYUv+1V+pgLQTb6k8KlldRtHEJ3EwCsAu sc1DJjK2GalTgLASBaQRxTx7YDWwglFhz20LJPjDOb953DKGnJtoiqzkgMY5CWaZHpBG fpDfL0R2bsaJ62bN3ZSSKCmDMiVo89RSxCIrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vCfAefenByq7S/WW9CTCYjVhnGB9attTkbr+ndETuBg8C3AZylnMW2eLCKhkgBYkcv ll+F0j4u4+xeEpbs4buR05v8zPRfySY7al1kYaaI24ckFniWyEz54Xwsgt49hWzVjoSR mWIu3skIXoKjpnJMCQBa6W62aluI8ie6Ruii0= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.0.140 with SMTP id 12mr4279973web.29.1295907375266; Mon, 24 Jan 2011 14:16:15 -0800 (PST) Received: by 10.216.16.21 with HTTP; Mon, 24 Jan 2011 14:16:15 -0800 (PST) In-Reply-To: References: <4D3DC94F.4020904@gmail.com> <20110124215057.014e9e60@digimed.co.uk> Date: Mon, 24 Jan 2011 14:16:15 -0800 Message-ID: Subject: Re: [gentoo-user] modifying iptables: how can I prevent locking me out? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 44ca9cf66bb3d4d56bc51c7d368fcf07 On Mon, Jan 24, 2011 at 2:14 PM, Mark Knecht wrote: > On Mon, Jan 24, 2011 at 1:50 PM, Neil Bothwick wrote: >> On Mon, 24 Jan 2011 10:59:16 -0800, Mark Knecht wrote: >> >>> Maybe a cron job that no matter what reloads the old rules 1 hour later? >> >> Wouldn't at make more sense? You don't want the thing to keep reloading >> your old config, at will do it once, and you can remove the task from the >> at queue once you successfully log back in. >> >> echo "command to reload old rules" | at now + 1 hour >> >> >> -- >> Neil Bothwick > > As a one-off test absolutely. > Actually, upon 15 seconds of reflection, what happens if he's locked out and there's a power failure before the at command executes? When rebooted I think it won't be there anymore, will it? - Mark