Gentoo Archives: gentoo-user

From: German <gentgerman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]
Date: Tue, 17 Mar 2015 16:11:24
Message-Id: 20150317121108.711bfd50fe3a8a11383a3812@gmail.com
In Reply to: Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update] by Matti Nykyri
1 On Sat, 14 Mar 2015 20:53:44 +0200
2 Matti Nykyri <matti.nykyri@×××.fi> wrote:
3
4 > > On Mar 14, 2015, at 12:47, German <gentgerman@×××××.com> wrote:
5 > >
6 > > On Sat, 14 Mar 2015 10:33:59 +0000
7 > > Neil Bothwick <neil@××××××××××.uk> wrote:
8 > >
9 > >> On Sat, 14 Mar 2015 06:08:34 -0400, German wrote:
10 > >>
11 > >>>> Forget about "chmod 770". Better do a "chmod g+rw". :-)
12 > >>>
13 > >>> Tried it, it also doesn't stay permanently. OK, no solution :(
14 > >>
15 > >> The correct solution is a udev rule, but it appears that something may be
16 > >> overriding that when you login.
17 > >
18 > > I have the same udev rule. Yes, something is overriding it.
19 > >
20 > > A kludgy solution is to add the chmod
21 > >> command to ~/.bash_profile.
22 >
23 > Don't hit your head to a brick wall. A small strace to the login process reveals that login set things as you tell it to in /etc/login.defs
24 >
25 > In this file change the line:
26 > TTYPERM 0600
27 > To:
28 > TTYPERM 0620
29 >
30 > And your problem is fixed.
31
32 Sorry, this didn't fix it
33 >
34 > The problem has nothing to do with udev. If you don't like a volatile /dev just remove udev and create everything you wan't by hand (not recommended ;)
35 >
36 > Another thing i'm puzzled by is, why do you wan't to login as root and the su to someone else? I usually do it the other way around...
37 >
38 > --
39 > -Matti
40 >
41 >
42 >
43
44
45 --
46 German <gentgerman@×××××.com>

Replies