Howto: Battlefield 2142 and 2142CC on Linux
Creating a new user account
Once we are sure that the correct ports are opened in the firewall, we can continue by creating a new user account. Most often, you don’t want a service to run as root. Since the Battlefield 2142 server and the 2142CC daemon don’t need root privileges to run, we create a normal user account. We will use the newly created user account to do (most of) the steps in this manual.
[root@gameserver02 root]# useradd bf2142server
[root@gameserver02 root]# passwd bf2142server
Changing password for user bf2142server.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
Note: Don’t forget to password the account once it is created!
Now that we have a normal user account, we will use this in the next chapters. Logout of your server and re-login with the account you just created.
| << Opening ports in your firewall | Battlefield 2142 dedicated server installation >> |


