Summary: | X server will only start as root | ||
---|---|---|---|
Product: | xorg | Reporter: | Michael Vanier <mvanier> |
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | major | ||
Priority: | high | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Michael Vanier
2006-04-16 15:11:12 UTC
that's right, it will only run as root. you need to make the X server suid root if you want to start it as a user. (In reply to comment #1) > that's right, it will only run as root. you need to make the X server suid root > if you want to start it as a user. That works. Is it secure? Also, the Debian-installed Xorg isn't SUID root and it works. Maybe it's called from another SUID program... I'll have to poke around. I guess I'm surprised that the sudo program I passed in to the build script didn't automatically do this, if that's what's intended. well, we hope it's secure ... that's why we issue security advisories for bugs in the server that can be exploited by clients. in Debian, /usr/bin/Xorg isn't u+s, but /usr/bin/X is. i believe you have to pass in an option to xorg-server's configure script to make the result suid. (In reply to comment #3) > well, we hope it's secure ... that's why we issue security advisories for bugs > in the server that can be exploited by clients. > > in Debian, /usr/bin/Xorg isn't u+s, but /usr/bin/X is. i believe you have to > pass in an option to xorg-server's configure script to make the result suid. Thanks for the information. As you suggest, /usr/bin/X on Debian is an SUID wrapper program that calls the real X server. It also has its own configuration file, Xwrapper.config. I appreciate your help. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.