Bug 93377 - `Xorg -version` is broken with suid wrapper
Summary: `Xorg -version` is broken with suid wrapper
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 21:26 UTC by Jasper St. Pierre
Modified: 2015-12-15 12:34 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jasper St. Pierre 2015-12-14 21:26:48 UTC
$ Xorg -version
/usr/libexec/Xorg.wrap: Only console users are allowed to run the X server
Comment 1 Hans de Goede 2015-12-15 12:34:12 UTC
Hi Jasper,

I would not call that broken, the wrapper is as thin as possible because any extra code results in possible extra security issues, as such I really do not want the wrapper to get into parsing the cmdline and then deciding that some cmdline options are ok to pass through for non console users.

One can always do:

/usr/libexec/Xorg -version

On systems with the wrapper to get the version when not on the console.

Regards,

Hans


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.