Enabling Cheat Mode
Enabling Cheats Mode on Clients
To enable debug/cheats, the client must be launched with the -EnableCheats commandline argument:
Once the game is launched, in single player offline mode cheats will always be available through the in game menus, no password required.
If you are hosting a listen server, you also do not need to enter a password to enable debug. Connecting clients will not be able to use debug.
See Dedicated Servers for instructions on enabling cheats on a dedicated server as well as where to set the admin password.