Complete.Org: Mailing Lists: Archives: freeciv: January 2000:
[Freeciv] Re: rpm installation
Home

[Freeciv] Re: rpm installation

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jesdynf <jesdynf@xxxxxxxxxxxx>
Cc: David Pfitzner <dwp@xxxxxxxxxxxxxx>, freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: rpm installation
From: John dillick <jdillick@xxxxxxxxxxxx>
Date: Thu, 20 Jan 2000 01:17:16 -0500 (EST)

On Wed, 19 Jan 2000, jesdynf wrote:

> 
> > Basically, I don't know the intended use of the files I mentioned earlier.
> > from a bash prompt logged on as root:
> > /root]#civserver
> > bash: civserver: command not found
> > (ok... obviously not in my search path)
> > /root]# cd /usr/games
> > /root]# ls 
> > banner  civ  civclient  civserver  ser
> > /root]# civserver
> > bash: civserver: command not found
> 
> The symptom here is that the current directory -- "." -- is NOT part of
> your PATH. Security reasons; it keeps you from running random binaries as
> root.

ok, so it's working now.  I just didn't know that current directory wasn't
in your search path.  I'll never forget it though. I just typed
./civserver and that did the trick.  Thank you everyone.

Everything is working great.  I just have to keep reminding myself I'm not
in ms-dos, so the things that are obvious there are not here.

> 
> The PROBLEM here is that you're running as root at all; you shouldn't be.
> You said you're a novice, so perhaps you don't know the First Rule.
> 
> Don't Run As Root.

Definately will keep that in mind.  I assumed that I would probably want
to be root to run rpm(haven't gotten down all the implications of these
permissions).  I assume it will really sink in good the first time I kill
my system, by accident of course.  

> 
> Make yourself an account, and use it for everything. If you need root for
> repetitive tasks, use sudo; if you need root for a one-shot, use su.
> 
> I generally go for WEEKS without logging in as root, and that's more or
> less proper. I've got this healthy respect for the myriad ways I can shoot
> myself in the foot. 
> 
> The civserver runs quite cheerfully from a user account, and user accounts
> often DO have "." in the path. So toss /usr/games into your .bash_profile
> and have at it.
> 
> Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>
> 
> 
> 
Thanks again,

John


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