Why does Screen command not working after doing su to other user?
Issue
- Logged in using userX and then switched to userY on Red Hat Enterprise Linux 5.
- Then tried to run the
screencommand but it failed to execute.
[userY@test]$ screen
Cannot open your terminal '/dev/pts/3' - please check.
- Found that no Read permission to group
tty
[userY@test]$ ls -al /dev/pts/3
crw--w---- 1 root tty 136, 3 Jan 31 09:37 /dev/pts/3
- Is this expected? Why does Screen command not working after doing su to other user?
Environment
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
