1 |
On Tue, 17 Mar 2015 19:16:42 +0200 |
2 |
Matti Nykyri <matti.nykyri@×××.fi> wrote: |
3 |
|
4 |
> > On Mar 17, 2015, at 18:11, German <gentgerman@×××××.com> wrote: |
5 |
> > |
6 |
> >> 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 |
7 |
> >> |
8 |
> >> In this file change the line: |
9 |
> >> TTYPERM 0600 |
10 |
> >> To: |
11 |
> >> TTYPERM 0620 |
12 |
> >> |
13 |
> >> And your problem is fixed. |
14 |
> > |
15 |
> > Sorry, this didn't fix it |
16 |
> |
17 |
> Yes. Sorry. The mode was wrong: |
18 |
> |
19 |
> TTYPERM 660 |
20 |
> |
21 |
> Will fix it, if your screen is setgid tty and ttyX is gid tty. If not then: |
22 |
> |
23 |
> TTYPERM 666 |
24 |
> |
25 |
> Will fix it, but also your tty will be world readable. If you don't consider that too big security risk, then just go |
26 |
|
27 |
Neither 660 nor 666 fixed it. Sorry :( |
28 |
|
29 |
ahead. |
30 |
> |
31 |
> -- |
32 |
> -Matti |
33 |
> |
34 |
|
35 |
|
36 |
-- |
37 |
German <gentgerman@×××××.com> |