System and user preparation ..
This is the important step of adding a new user for your Quake2 server to run under. Adding a new user gives a little protection incase the machine were to be taken over by hostile forces, this way they don't get your root account right off the bat.
1. Switch to the ‘root’ user and create a new user to run the Quake2 Server and set a complex password. When selecting a password use something with capitals, numbers, symbols, etc. On Fedora, a group is automatically created when you add a new user. If your linux operating system doesnt do this, you'll need to create a new group also.
# /bin/su root # /usr/sbin/adduser q2user # /path/to/groupadd q2user # /usr/bin/passwd q2user2. The above adduser command on Fedora creates a home directory by default (in our case it created /home/q2user), if not, create one and change directory to the users home. Then create a directory named quake2 in your users home directory for our server files:
# mkdir /home/q2user/quake2 # cd /home/q2user/quake2