Otavio Salvador : xorg-xserver-common.inc: set userid to allow Xorg to be run by users
Review
Quoted 1 line
(quoted diff) +1
-0+ chmod u+s ${D}/usr/bin/Xorg
Xorg is a pretty large and scary binary to make setuid root, not least because I think you can run more-or-less arbitrary code if you specify a custom config file which loads modules of your own devising.
I'm not sure this is a good idea to have as standard policy: it seems like the kind of thing that ought to be an opt-in choice by DISTROs if we do it at all. A better idea still is probably to provide a setuid wrapper which invokes X under controlled conditions and doesn't allow the user to modify the parameters.
p.
Quoted 6 lines · Otavio Salvador
I somewhat understand your complains. Debian usea a wrapper for that propouse. I like this idea and I believe it might be a way to go.
http://git.debian.org/?p=pkg-xorg/debian/xorg.git;a=blob;f=debian/local/xserver-wrapper.c;hb=HEAD
What do you think about it?
Yes, this sounds like the right solution to that problem. However, I think even this ought to be a DISTRO opt-in rather than the default, since for many people it will probably be unnecessary.
p.
Am Tuesday 28 October 2008 16:35:43 schrieb Phil Blundell:
Quoted 12 lines · Otavio Salvador
Quoted 7 lines
I somewhat understand your complains. Debian usea a wrapper for that propouse. I like this idea and I believe it might be a way to go.
http://git.debian.org/?p=pkg-xorg/debian/xorg.git;a=blob;f=debian/local/x
server-wrapper.c;hb=HEADWhat do you think about it?
Yes, this sounds like the right solution to that problem. However, I think even this ought to be a DISTRO opt-in rather than the default, since for many people it will probably be unnecessary.
I agree. I'd rather have it opt-in as well.
Signature · 1 line
:M: