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 AB474138CBF for ; Tue, 17 Mar 2015 17:17:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42E2CE091A; Tue, 17 Mar 2015 17:16:59 +0000 (UTC) Received: from lyseo.edu.ouka.fi (unknown [82.128.138.2]) by pigeon.gentoo.org (Postfix) with ESMTP id 23E0EE08D9 for ; Tue, 17 Mar 2015 17:16:58 +0000 (UTC) Received: from [100.100.53.61] (85-76-144-216-nat.elisa-mobile.fi [85.76.144.216]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by lyseo.edu.ouka.fi (Postfix) with ESMTPSA id D85DE162010C for ; Tue, 17 Mar 2015 19:16:46 +0200 (EET) Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] References: <20150313115241.60fee51b1e2d361dcdd99f7c@gmail.com> <125a8276-2199-4dae-8dc9-619ca436e548@email.android.com> <20150313151628.cc840cdef745f8947c944afd@gmail.com> <20150313222829.2423b7f6@digimed.co.uk> <20150314000034.10ed9854@hal9000.localdomain> <20150314011632.53fda22f@hal9000.localdomain> <20150314060834.3492e89c7ac2e449c93a2319@gmail.com> <20150314103359.735324c1@digimed.co.uk> <20150314064742.eb3fd479e7e54df67d2af665@gmail.com> <20150317121108.711bfd50fe3a8a11383a3812@gmail.com> From: Matti Nykyri Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (11D201) In-Reply-To: <20150317121108.711bfd50fe3a8a11383a3812@gmail.com> Message-Id: Date: Tue, 17 Mar 2015 19:16:42 +0200 To: "gentoo-user@lists.gentoo.org" Content-Transfer-Encoding: quoted-printable 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 (1.0) X-Archives-Salt: c9b7b983-4b14-4e1b-b5c2-f93e0e358973 X-Archives-Hash: a69169d2470e07968f16bc87613a5fbe > On Mar 17, 2015, at 18:11, German wrote: >=20 >> Don't hit your head to a brick wall. A small strace to the login process r= eveals that login set things as you tell it to in /etc/login.defs >>=20 >> In this file change the line: >> TTYPERM 0600 >> To: >> TTYPERM 0620 >>=20 >> And your problem is fixed. >=20 > Sorry, this didn't fix it Yes. Sorry. The mode was wrong: TTYPERM 660 Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: TTYPERM 666 Will fix it, but also your tty will be world readable. If you don't consider= that too big security risk, then just go ahead. --=20 -Matti