[Freeciv] Re: rpm installation
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> 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.
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.
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>
|
|