How to Disable or Completely Delete Linux Server Users

Disabling a user account can be very useful if the account has been compromised, the user has left but may return in the future, or for punitive purposes. To disable a user on a Linux system, you can use the following command string:
# usermod –lock –expiredate 1970-01-01 <username>
Replace <username> with the actual user’s […]

MySQL User and Password Management

As you manage your dedicated server, you will invariably come across times when you need to reset passwords, add or delete accounts, or generally perform maintenance on your database users. When working with MySQL, there are a couple of simple ways to manage user accounts. The first involves accessing it from the command line, while […]

How to Deal with Unauthorized Users

One day, while monitoring your server, you notice a user you do not recognize logged in through SSH or another method. What should you do in this situation?
First of all, do not panic. It may seem horrible, but is probably not as bad as you think. The fact that you still have control and a […]