Change Default Username “Admin” For Blog Security

Posted on March 26th, 2011

One of the easiest ways to break the password was Brute force. The was a simple method of trying as many different passwords as possible until the right one is found. Users of the brute force method use dictionaries, which give them a lot of password combinations.

Knowing your username certainly makes it easier for them to guess the right combination. This is why you should always change the default username “admin” to something harder to guess.

This tip is still usefull if you still use the old “admin” account from older WordPress versions as WordPress 3.0 let you choose your desired username.

If you haven’t changed the “admin” username yet, simply run the following SQL query to your database to change it for good. Don’t forget to specify your desired username.

UPDATE wp_users SET user_login = 'Your New Username' WHERE user_login = 'Admin';

Usernames get stored in the database. To change one, a simple UPDATE query is enough. Note that this query will not transfer posts written by “admin” to your new username; the source post below shows you how to easily do that.