Bug 260 - should xterm be suid?
should xterm be suid?
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: distribution (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-12-02 07:05 EST by ian.clark
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-12-02 11:14:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description ian.clark 1998-12-02 07:05:24 EST
I have just installed redhat 5.2 and noticed that xterm was
running as root. Upon looking in /usr/X11R6/bin in noticed
there a number of files set as suid is this correct?

The files affected are :-

kterm
nxterm
seyon
xbill
xhextris
xscreensaver
and xterm
also (but i'm not sure about) XConsole and XWrapper.

Ian
Comment 1 Bill Nottingham 1998-12-02 11:14:59 EST
XConsole, kterm, nxterm, xterm are suid to log to utmp/wtmp.
xscreensaver is setuid to read shadow passwords.
(this will be changed in a future release...)
xbill & xhextris are set(u|g)id *games* to read/write score files.
XWrapper is suid so the X server isn't. :)

Note You need to log in before you can comment on or make changes to this bug.