Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 260 - should xterm be suid?
Summary: should xterm be suid?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: distribution
Version: 5.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-12-02 12:05 UTC by ian.clark
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1998-12-02 16:14:31 UTC


Attachments (Terms of Use)

Description ian.clark 1998-12-02 12:05:24 UTC
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 16:14:59 UTC
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.