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: Reinier Post <rp@xxxxxxxxxx>
Date: Wed, 13 Nov 2002 10:07:13 +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?
> 
> Are there any objections to this?  Is it sufficiently secure?  Or has
> such a discussion taken place before?

I am in favour of doing this, and moving the audio init down.

-- 
Reinier


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