How To Change Your cPanel Password

  1. This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.

    cpanel-paperlantern-10-password--01

  2. Now let’s learn how to change the cPanel password.

    cpanel-paperlantern-10-password--02

  3. Click the "Change Password" icon.

    cpanel-paperlantern-10-password--03

  4. First enter your old, or existing password.

    cpanel-paperlantern-10-password--04

  5. Then enter and confirm a new password.

    cpanel-paperlantern-10-password--05

  6. Click "Change your password now".

    cpanel-paperlantern-10-password--06

  7. That’s it! The cPanel password has been changed.

 

How To Password Protect a Directory in cPanel

  1. This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.
  2. Now let’s learn how to password protect a directory.

    cpanel-paperlantern-18-protect--01

  3. Click the "Directory Privacy" icon.

    cpanel-paperlantern-18-protect--02

  4. Select the directory to start with, then click "Go".

    cpanel-paperlantern-18-protect--03

  5. Select the directory you want to password protect by clicking its name.

    cpanel-paperlantern-18-protect--04

  6. Check the "Password Protect" box, then give a name for the directory, and click "Save".

    cpanel-paperlantern-18-protect--05

  7. The directory is now protected, and requires a password to enter it via a browser.

    cpanel-paperlantern-18-protect--06

  8. We must therefore create at least one user, and assign them a password so they can access the directory.

    cpanel-paperlantern-18-protect--07

  9. Assign a username and password in the "Create User" section.

    cpanel-paperlantern-18-protect--08

  10. The protected directory now has one user who has access to it. Repeat this process for each additional user you want to grant access for.

    cpanel-paperlantern-18-protect--09

  11. You can see the new user we just added in the "Authorized Users" section.

    cpanel-paperlantern-18-protect--10

 

Change a Password for PostgreSQL on Linux via Command Line

PostgreSQL supports many client authentication methods, but in this case we’re only going to concern ourselves with two: password and md5.

Note: The default authentication method for PostgreSQL is ident. If you’d like to change the PostgreSQL authentication method from ident to md5, then visit the linked tutorial!

Continue reading “Change a Password for PostgreSQL on Linux via Command Line”

Change a Password for MySQL on Linux via Command Line

Pre-Flight Check
  • These instructions are intended for setting the password for all MySQL users named root on Linux via the command line. However, they can also be followed to change the password for any MySQL user.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “Change a Password for MySQL on Linux via Command Line”

Practice Safe Passwords: A Quick Guide to Password Security

Your server is only as secure as your weakest password. As a rule of thumb, the more lengthy and complex a password, the stronger it is. Follow the best practices below for generating difficult to crack passwords.

Best Practices

DOs

  • DO Use Passwords of At Least Ten Characters: The more characters, the more difficult a password is to crack. Length is key. Create lengthy passwords of at least 10 characters!
  • DO Create Unique Passwords: Each password you use should be for a unique service (ex. cPanel, MySQL, and your bank account should all have different passwords).
  • DO Use a Combination of Character Types: Use numbers, lowercase letters, uppercase letters and symbols in your password. (ex. XkeDZaJ6QG3E8!jKq3%yIOd3)
  • DO Change Your Password Often: Change your passwords at least every six months, if not every three months.
  • DO Randomly Generate the Password: Use one of the following sites to generate a secure password: Norton by Symantec, Random.org, or Random Password Generator

DO NOTs

  • DO NOT Use Dictionary Words: This one should be obvious. If your password is pizzatime, your server is probably already cracked.
  • DO NOT Use Pets, People, Places, Events, etc.: We’re absolutely sure your dog is adorable. But, her name probably isn’t a good password. Unless her name is Tmb1W\>r~ii, then that’s cool.
  • DO NOT Reuse Passwords: Let’s say your first password for an account was gCB7%TT^Vm but you were forced to change your password, so you changed it to v8@#TsVaiQ. If you have to change the password for that account again, do NOT go back to gCB7%TT^Vm. Create a new, unique password instead!
  • DO NOT Use Adjacent Keyboard Strings: qwerty1234 is not a good password.

Continue reading “Practice Safe Passwords: A Quick Guide to Password Security”