# How to Become an Admin on a Rust Server
Learn how to assign yourself owner or moderator permissions on a Rust dedicated server using your SteamID64, and how to execute admin console commands.
---
## 1. Locate Your SteamID64
Every Rust admin role requires your unique **SteamID64**:
1. Open your Steam profile in a web browser or Steam client.
2. Copy your profile URL (e.g., `https://steamcommunity.com/profiles/76561198000000000`).
3. If using a custom URL, look up your 17-digit SteamID64 using a Steam ID lookup tool.
---
## 2. Assigning Admin Privileges via Server Console
1. Access your server **Web Console** or RCON terminal.
2. To grant full owner (admin) permissions, execute:
```text
ownerid 76561198000000000 "YourPlayerName"
```
3. To grant moderator (non-owner admin) permissions, execute:
```text
moderatorid 76561198000000000 "YourPlayerName"
```
4. Save the user permissions to the config file by running:
```text
server.writecfg
```
> [!IMPORTANT]
> Always execute `server.writecfg` after adding or removing admins. If you omit this step, admin permissions will be lost when the server restarts.
---
## 3. Applying Admin Status In-Game
* If you were already connected to the server when running the `ownerid` command, you must **reconnect** to the server for your permissions to activate.
* Once reconnected, press **F1** in-game and press `F7` or type `noclip` to verify your admin privileges.
---
## 4. Essential Rust Admin Commands
| Command | Description |
| :--- | :--- |
| `noclip` | Toggle flying through terrain and buildings |
| `god true` / `god false` | Enable or disable invulnerability |
| `inventory.giveitem <item> <amount>` | Spawn items directly into your inventory |
| `kick <SteamID64> "Reason"` | Kick a player from the server |
| `ban <SteamID64> "Reason"` | Ban a player permanently |
| `unban <SteamID64>` | Unban a player |