Change the RCON / admin password
Edit rcon_password in server.cfg or ServerAdminPassword and restart the server.
Change the RCON / admin password
The RCON password (or admin password, depending on the game) grants full remote administration access. You should change it regularly and immediately if a staff member leaves or if you suspect a leak.
Cause / The problem
An RCON password known to a third party lets them take over the server (kick everyone, edit configs, install cheats). The default password, if any, or a password shared with too many people, is a vulnerability.
Solution
For CS2 / CS:S
- Edit
server.cfgingame/csgo/cfg/(CS2) orcstrike/cfg/(CS:S). - Change the line:
rcon_password "NewStrongPassword123" - Only put the RCON in
server.cfg, never on the command line (risk of conflict). - Restart the server.
- Clients must re-enter
rcon_password NewStrongPassword123in their console.
For Rust
- The startup line contains
+rcon.password "...". Edit it in the panel’s Variables / Startup. - Restart.
- Reconnect your RCON tools (RustAdmin, web) with the new password.
For ARK
- Edit
GameUserSettings.ini, section[/Script/ShooterGame.ShooterGameUserSettings]:ServerAdminPassword=NewStrongPassword - Do not duplicate this password in the command line / batch — it causes conflicts on reboot.
- Restart. In-game, type
enablecheats NewStrongPasswordto confirm.
For DayZ
- Edit
serverDZ.cfg:passwordAdmin = "NewStrongPassword"; - Restart. In-game, type
#login NewStrongPasswordin chat.
Best practices
- Length: at least 16 characters, mixed uppercase/lowercase/digits.
- Rotation: change it every 2-3 months and whenever a staff member leaves.
- Storage: use a password manager (Bitwarden, 1Password), not a Slack message.
- Unique: never reuse the same RCON across different servers.
After a change, notify only the active administrators. A compromised RCON left unchanged means a remotely hackable server.