[Y-devel] [PATCH] LoadConfig
James Harr james at grickle.org
Tue Feb 24 14:38:19 GMT 2004
A note on LoadModule this brings to mind - We just want to make sure we
either:
a) make sure the server is running as the user (not root)
or
b) make sure they can't load their own modules
For obvious security implications, but it can be easy to forget :)
-- James Harr
On Tue February 24 2004 07:48, Matt Wilson wrote:
> Just a small patch that I've wanted for a few days, allows the use of;
>
> LoadConfig "/path/to/config/file"
>
> or, as is more likely;
>
> LoadConfig "$HOME/.Y/config.conf"
>
> (it handles environment variables ... crudely)
>
> to load user specific config variables.
>
> I've currently got a file $HOME/.Y/config.conf which loads
> $HOME/.Y/$Y_VIDEO.conf to set the video driver depending on whether I'm
> in X or in the console (either Y_VIDEO='sdl' or Y_VIDEO='fbdev').
>
> Matt
>
> --
> https://www.mattsscripts.co.uk/
> - A great source for free CGI and stuff
>
> Even bytes get lonely for a little bit.
>
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved