# /setpassword

Sets a new password for an account. The game's help: Use this command to change password for a user. Use: /setpassword "username" "newpassword"

Source page: https://zomboiddb.com/commands/setpassword/

Command

`/setpassword`

Who can use it

moderator and above

Capability

`ModifyNetworkUsers`

Single player

No, it needs a server

## What you type

`/setpassword "username" "newpassword"`

## Examples

- `/setpassword "rj" "newpassword"`

rj is the name the game's own help uses. Put your player's name in its place.

## What the game answers

- exception occurs

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `ModifyNetworkUsers` | | | | | | yes | yes |

These are the roles the game makes for a new server. An admin can change them in the admin panel. [What each level may do](https://zomboiddb.com/access-levels/).

## More commands like this one

[/adduser](https://zomboiddb.com/commands/adduser/) [/addsteamid](https://zomboiddb.com/commands/addsteamid/) [/removesteamid](https://zomboiddb.com/commands/removesteamid/) [/grantadmin](https://zomboiddb.com/commands/grantadmin/) [/removeadmin](https://zomboiddb.com/commands/removeadmin/) [/kickuser](https://zomboiddb.com/commands/kickuser/) [/banuser](https://zomboiddb.com/commands/banuser/) [/banid](https://zomboiddb.com/commands/banid/) [/banip](https://zomboiddb.com/commands/banip/) [/unbanuser](https://zomboiddb.com/commands/unbanuser/) [/unbanid](https://zomboiddb.com/commands/unbanid/) [/unbanip](https://zomboiddb.com/commands/unbanip/) [/removeuserfromwhitelist](https://zomboiddb.com/commands/removeuserfromwhitelist/) [/voiceban](https://zomboiddb.com/commands/voiceban/) [/players](https://zomboiddb.com/commands/players/) [/setaccesslevel](https://zomboiddb.com/commands/setaccesslevel/) [/removemapsymbolsforuser](https://zomboiddb.com/commands/removemapsymbolsforuser/)
