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

Bug 5595

Summary: Default X permissions
Product: Gentoo Linux Reporter: Solomon Matthews <proximo>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Solomon Matthews 2002-07-25 20:45:40 UTC
Root cannot start X applications when su'ing from a user's X session. 
Using 'xhost +' or similar fixes it but this is not an ideal or intuitive solution. 

Please accept my apologies if this is an intentional security feature, but if
'rm -rf' is OK I really don't mind the odd unauthorized X app.
Comment 1 SpanKY gentoo-dev 2002-07-25 21:12:38 UTC
gentoo tries to install everything with minimal security allowances, and this 
is no exception ... xfree really shouldnt allow anything unless the user wants 
it to ...

i for one prefer the 'disabled by default' approach gentoo takes to everything
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-27 11:00:47 UTC
do not use 'xhost +', but rather put 'xhost local:root' in the users's .xinitrc
or .xsession if he wants root to have access to his Xsession by default.