Common Linux Commands You Should Know

In the previous 3 posts, we have covered several Linux terms that you should know when getting started managing a Linux server. What follows are some actual commands that will help you as you begin your journey.
cd – Probably the command you will use most frequently, “cd” stands for “change directory”. From the command […]

5 More Basic Server Security Tips

In a previous post, we highlighted some crucial security measures you should adopt to keep your dedicated server safe. What follows are five more tips that are of equal or even greater importance.
1. Restrict root – Root, the administrator or super user has full control of your server. Ideally, only one person should be […]

Configure Linux to Restrict SuperUser to One Group

The last thing you would ever want or need on your dedicated server is for an unauthorized user to gain root access. This applies to both those external users with malicious intent and those who have limited privileges and may just play around with their newfound powers. Either way, it is bad news. One practical […]

A Basic Guide to SSH Server Connections: Part 2

Connecting to an SSH server is usually pretty straightforward, and your login credentials are encrypted for security. This makes SSH useful for other types of connections beyond basic shell access. Backup/syncing tools like rsync can use it, and file transfer programs like SCP for SFTP can use SSH technology for secure file transfers.
In part one, […]

How to Run Commands as Another User

In a previous post, we explained how to use “su” to execute a command as another user, but that is only one of the many ways you can accomplish this on a Linux or Unix server. The following techniques each have their own advantages and can help you run programs under different user identifications.

runuser – […]

Back to the Basics #11: Secure Shell (SSH)

If you are new to dedicated servers, your primary experience with hosting management has probably been from within the comfortable pages of a web-based control panel. Without a doubt, control panels like cPanel/WHM provide system administrators with robust tools to tackle most of the issues they may encounter. Nevertheless, there will still be times when […]

How to Disable Direct Root Login

On a Linux server, root is the administrator of everything, the king of the hill. Root can do whatever he wants, whenever he wants. With full access and full privileges, root is the most powerful user on the server. While it may be convenient to login to your server as root and get to work, […]

Restricting Shared Hosting Accounts

Shared hosting is a type of web hosting where multiple users share the same server. If you have a dedicated server, you might offer shared hosting accounts to your users who need hosting accounts with their own domains but are not ready for a VPS or dedicated server of their own.
Because shared hosting users have […]

SUDO vs SU: What Really Matters

If you spend a decent amount of time talking to people in the Linux and free software community, you are bound to stumble upon the sudo vs su debate.  Some system administrators swear by sudo and argue it is the only way to truly keep your administrative account secure.  Others argue in favor of su, […]

How to Login to a Linux Server as a Different User

When you login to your dedicated server via SSH, there are normally two options: your own username and root.  It is inadvisable to login directly as root, but you can always use “su” or “sudo” to run root commands.  In some circumstances, however, it may actually be more convenient and useful to login as another […]