Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2618

Summary: xterm is suid root
Product: Gentoo Linux Reporter: Cody Pisto <cody>
Component: Current packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED DUPLICATE    
Severity: normal CC: swift
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cody Pisto 2002-05-09 12:40:57 UTC
xterm is installed suid root on the xfree 4.2.0-r9 ebuild
this is a security issue, and is not needed!
Comment 1 Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-09 13:11:43 UTC
It shouldn't work as normal if you use the -ls option, as it needs to be suid
root to write the utmp/wtmp files upon login. Whether this is necessary or not,
and if this should be default behaviour in Gentoo is not for me to decide. :)
Comment 2 jakd 2002-05-09 13:25:05 UTC
it will happily not write to {u,w}tmp and go on its way, similar to the other
terms in the system.  the others i've played with (aterm,rxvt,eterm) do not set
suid; we should go for consistency and security.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2002-05-17 10:55:02 UTC
*** Bug 2800 has been marked as a duplicate of this bug. ***
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-08 04:58:40 UTC

*** This bug has been marked as a duplicate of 7630 ***