Bug 6100

Summary: RH6.1 screen uses non UNIX98 ptys with DANGEROUS permissions
Product: [Retired] Red Hat Linux Reporter: Chris Evans <chris>
Component: screenAssignee: Bill Nottingham <notting>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: notting, rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-21 19:57:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chris Evans 1999-10-19 21:23:23 UTC
I have a full RH6.1 install.
As a user I run "screen".
I notice I get allocated "/dev/ttya0", and the permissions
are -rw-rw-rw-, owned by root. This is very dangerous! It
looks like screen has failed to use /dev/pts/0 (UNIX98 pty
xterm and rxvt handle pty's correctly, screen should mimic
their behaviour.

PS. I like screen's usage of user-private .screen
directories, much better.

Comment 1 Bill Nottingham 1999-10-21 19:57:59 UTC
Fixed in screen-3.9.4-3, in the errata.

(As an aside, using the user private .screen directories, while
more secure, breaks on Linux<->non-Linux NFS. :( )