By default, FTP servers require the user to login in order to upload or download files. Many web hosts, however, additionally offer the ability to use anonymous FTP. It basically gives you the ability to allow users to login to the FTP server without providing a username or a password. …
July, 2010
-
12 July
Troubleshooting Database Connections
When MySQL works correctly, it can be a thing of beauty, but when something goes wrong, it can drive you mad. Here are a few things you can do to troubleshoot connection problems: 1. Make sure your username and password are correct. 2. Double-check the hostname. Although “localhost” works on …
June, 2010
-
21 June
How to Login as a Different User in Linux
Sometimes when I am working on a project and come across a new powerful Linux command, I need to test it. With a live dedicated server, that can be a recipe for disaster. Rather than taking such a risk with your websites and possibly the websites of customers (if you …
May, 2010
-
12 May
Creating Good Passwords
Whether you have a single small website or a data center filled with servers, security should always be at the top of your agenda. One of the most basic security holes that attackers often exploit is the weak password. It is important for you and any users on your server …
April, 2010
-
28 April
How to create an SSH key
An SSH key is a secure encrypted code that allows you to connect to a server without having to type the password in plain text. To setup a key, follow these instructions: 1. First you need to connect to an SSH host on each machine (this will create the .ssh …
January, 2010
-
14 January
How to prevent users from reusing old passwords in Linux
In a previous blog post, we learned how to force users to change their passwords on a regular basis. This prevents them from keeping the same password forever, but it does not prevent them from alternating between the same two passwords or between a handful of them. Fortunately, PAM, Linux‘s …
-
8 January
How to configure password aging in Linux
If you have ever worked for a corporation or used IT services at a university, you have undoubtedly been prompted at one time to change your password. It is annoying and seems like a waste of time, but it is important. Running a web server that gives all or some …
December, 2009
-
28 December
How to manually grant privileges in MySQL
There are plenty of reasons why you might want to grant various privileges to a user in MySQL manually rather than with a control panel or phpMyAdmin. But regardless of the reason, the process is quick and easy, once you learn how to do it. For this you will need …
-
21 December
How to create a MySQL database in cPanel
Question: How can I use cPanel to create a MySQL database? Answer: cPanel uses its own web-based frontend to make database creation very easy. Just follow these simple steps: 1. Login to cPanel 2. Under the Databases section, click “MySQL Databases” 3. Where it says “Create New Database” enter a …
-
9 December
SSH security tips part 3: Root logins and empty passwords
Only one user should have the root password to a server, but since virtual private servers (VPS) can exist within a server, those users also have root passwords. Generally speaking, it is a bad practice to login to the server directly as root (administrator). Although SSH connections are encrypted, it …