Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#424) civserver --version as root
Home

[Freeciv-Dev] Re: (PR#424) civserver --version as root

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#424) civserver --version as root
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Tue, 12 Nov 2002 13:00:43 +0100

On Tue, Nov 12, 2002 at 01:36:14AM -0800, Jason Short via RT wrote:
> 
> [gkoopman@xxxxxxxxx - Fri Jun 30 12:46:53 2000]:
> 
> > It's OK that the civserver and civclient executables refuse to work
> > for root, but shouldn't it be possible to do run them with options
> > like --help and --version?
> 
> This is a good point.  Allowing it just require moving a few lines
> (patch attached) so that we read in the command-line arguments (and
> handle --help and --version) before calling dont_run_as_root.
> 
> Note that this causes audio_init to be run for civclient - should this
> function also be moved down?

IMHO yes.

> 
> Are there any objections to this?  Is it sufficiently secure?  Or has
> such a discussion taken place before?
> 
> jason
> 

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


[Prev in Thread] Current Thread [Next in Thread]