1 |
> On Mar 17, 2015, at 18:11, German <gentgerman@×××××.com> wrote: |
2 |
> |
3 |
>> 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 |
4 |
>> |
5 |
>> In this file change the line: |
6 |
>> TTYPERM 0600 |
7 |
>> To: |
8 |
>> TTYPERM 0620 |
9 |
>> |
10 |
>> And your problem is fixed. |
11 |
> |
12 |
> Sorry, this didn't fix it |
13 |
|
14 |
Yes. Sorry. The mode was wrong: |
15 |
|
16 |
TTYPERM 660 |
17 |
|
18 |
Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: |
19 |
|
20 |
TTYPERM 666 |
21 |
|
22 |
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. |
23 |
|
24 |
-- |
25 |
-Matti |