[Wylug-discuss] screen - cannot open ttys

Stephen Patterson steve at patter.me.uk
Tue Nov 30 16:30:54 UTC 2010


> What do "who" and "tty" say?
>
> I note that ttyp3 is owned by root. Are you also trying to switch users?  
> i.e.
> did you login as root then su to a different user? If so that's your  
> problem.
> ttys are deliberately only accessible by the user that created them.  
> Giving
> other users access to your tty would effectively allow them to spy on  
> you and
> run keyloggers.

I've, logged in as myself, not su'd from root. I understand the security  
of allowing
other access to the devices.
Don't know if it matters but there are no users in the 'tty' group

tty shows /dev/ttyp1

& who shows (I'm logged in as steve)
aidan    ttyp0        2010-11-30 10:09 (*)
steve    ttyp1        2010-11-30 16:12 (*)


ls -l /dev/ttyp*
crw--w---- 1 aidan tty 3,  0 Nov 30 13:17 /dev/ttyp0
crw--w---- 1 steve tty 3,  1 Nov 30 16:18 /dev/ttyp1
crw------- 1 steve tty 3,  2 Nov 30 16:18 /dev/ttyp2
crw------- 1 steve tty 3,  3 Nov 30 16:10 /dev/ttyp3
crw--w---- 1 root  tty 3,  4 Nov 29 17:17 /dev/ttyp4
crw-rw-r-- 1 root  tty 3,  5 Nov 27 00:02 /dev/ttyp5
crw-rw-r-- 1 root  tty 3,  6 Nov 27 00:02 /dev/ttyp6



More information about the Wylug-discuss mailing list