> On Mar 17, 2015, at 19:33, German <gentger...@gmail.com> wrote:
> 
> On Tue, 17 Mar 2015 19:16:42 +0200
> Matti Nykyri <matti.nyk...@iki.fi> wrote:
> 
>>>> On Mar 17, 2015, at 18:11, German <gentger...@gmail.com> wrote:
>>>> 
>>>> 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
>>>> 
>>>> In this file change the line:
>>>> TTYPERM 0600
>>>> To:
>>>> TTYPERM 0620
>>>> 
>>>> And your problem is fixed.
>>> 
>>> 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
> 
> Neither 660 nor 666 fixed it. Sorry :(

If you have:

TTYPERM 0666

And logout and login. What mode and ownership do you have in you tty 
(/dev/ttyX)?

-- 
-Matti



Reply via email to