Title: Avoid new users
Last modified: August 29, 2017

---

# Avoid new users

 *  Resolved [elpezrojo](https://wordpress.org/support/users/elpezrojo/)
 * (@elpezrojo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/avoid-new-users/)
 * Hi
    I´m working on a site which is attacked several times and the first thing
   they do is create a new admin user. How can I avoid this?
 * I´m thinking on changing the Id of wp_users table to enum and put only the ids
   of the good users
    Is this a good idea? What can I do?
 * Thanks
    Javier
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Favoid-new-users%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/avoid-new-users/#post-9452353)
 * > I´m working on a site which is attacked several times and the first thing they
   > do is create a new admin user.
 * That type of activity (creating admin accounts) usually indicates that the site,
   or the server and/or some user credentials have been compromised.
 * You may want to carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).
 *  Thread Starter [elpezrojo](https://wordpress.org/support/users/elpezrojo/)
 * (@elpezrojo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/avoid-new-users/#post-9453405)
 * Thanks for responding Clayton
    I will check the guide (now are working experts
   of the hosting). But I tried the enum change in another test WordPress and seems
   ok, I think that nobody can create new users except from phpmyadmin and the WordPress
   seems to be ok.
 * Javier

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Avoid new users’ is closed to new replies.

## Tags

 * [infected](https://wordpress.org/support/topic-tag/infected/)
 * [wp_users](https://wordpress.org/support/topic-tag/wp_users/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [elpezrojo](https://wordpress.org/support/users/elpezrojo/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/avoid-new-users/#post-9453405)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
