Re: [Freeciv-Dev] running civserver as root
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Reinier Post wrote:
[running civserver as root]
> is unsafe.
I agree with this. (Basically, the server is not currently very
robust against malformed packets, buffer overflows, etc.)
> Patch attached.
> + if (!getuid() || !geteuid()) {
> + exit(1);
> + }
What I would like to know from freeciv-dev is whether there are
any systems which currently run freeciv which may have problems
with this patch, and whether there is anything we can/should
do for such systems...
(Eg, particularly some unnamed systems where the user is
effectively always "root"... Not that I think we should "dumb"
freeciv down for such cases, but if we can readily accommodate
everyone...)
Regards,
-- David
|
|