Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5595 - Default X permissions
Summary: Default X permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 20:45 UTC by Solomon Matthews
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.