From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1B0371389F5 for ; Sat, 4 Apr 2015 13:26:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E5BFE0924; Sat, 4 Apr 2015 13:25:55 +0000 (UTC) Received: from jarl.yagibdah.de (unknown [185.55.75.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9C77E08D5 for ; Sat, 4 Apr 2015 13:25:53 +0000 (UTC) Received: from br-dmz-ip.yagibdah.de ([192.168.1.1] helo=heimdali.yagibdah.de) by jarl.yagibdah.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YeO59-0007YU-DK for gentoo-user@lists.gentoo.org; Sat, 04 Apr 2015 15:25:51 +0200 Received: from lee by heimdali.yagibdah.de with local (Exim 4.84) (envelope-from ) id 1YeO59-0005Ee-BC for gentoo-user@lists.gentoo.org; Sat, 04 Apr 2015 15:25:51 +0200 From: lee To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: How to poweroff the system from user? In-Reply-To: <1887274.L0doMiab5F@navi> (Fernando Rodriguez's message of "Tue, 31 Mar 2015 01:57:32 -0400") Date: Sat, 04 Apr 2015 14:41:12 +0200 Organization: my virtual residence Message-ID: <87bnj4nk0n.fsf@heimdali.yagibdah.de> References: <20150321152656.a82a84b3e8a32c8b68554548@gmail.com> <20150322155852.GA1081@ca.inter.net> <87pp7sqf0b.fsf@heimdali.yagibdah.de> <1887274.L0doMiab5F@navi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Mail-Followup-To: gentoo-user@lists.gentoo.org 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 Content-Type: text/plain X-Archives-Salt: 1782e769-a214-4d90-a8d1-620620e031ed X-Archives-Hash: 2305e156189520ac9f097c6657d139b5 Fernando Rodriguez writes: > On Sunday, March 29, 2015 12:23:00 PM lee wrote: >> Philip Webb writes: >> What's the last time you pressed Ctrl+Alt+Del and it actually worked? >> It's a legacy thing from times when freezes/crashes were common and when >> it did work and was useful. >> >> Nowadays, when you're pressing it, usually nothing happens anyway >> because the machine is down to where you have to press the reset button >> or to turn off the power (if you can't log in with ssh). When the >> machine still works, Ctrl+Alt+Del also works, which means that the >> default does nothing but create a security hole. > > On Linux now there's the Magic SysRq Key feature for that. I always can't remember which keys to press with that, so I have it disabled. And when the keyboard is unresponsive, it won't work. >> So how can we have this default changed? > > Somebody posted that on this very thread. Replace the ctrlaltdel entry on > inittab with /bin/false. Oh I mean the *default*. We should not need to change the inittab to have it disabled by default. Isn't commenting out the whole line sufficient? -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.