Posts Tagged how to
📅 February 13, 2018
Suppose you want to maintain a list of users allowed to login to an FTP server but you do not want to create user accounts for them on the Linux system. The FileZilla server has this feature built in, so is there are way to specify usernames and their passwords for FTP users in ProFTP?
One way is to use a MySQL database that ProFTP checks for allowed users. If a user is listed in the database, then he is allowed to log in.
This might sound like overkill. Why use a full-fledged relational database for FTP? Actually, you can much, much more than manage logins. Every aspect of the FTP session can be recorded and analyzed using a database. Uploads, IP addresses, last logins, login history, access count, upload/download quotas, and more are possible. Almost anything you want to record about your users is possible with ProFTP and a database, such as MySQL.
This article shows how to set up ProFTP to access a MySQL database that lists users allowed to log in without needing to create user accounts on a Linux Mint system.
📅 February 9, 2018
FTP is insecure because all commands, usernames, password, and data transfers in the clear. Anybody sniffing the network can easily peek into an FTP session.
Let’s thwart that attempt by encrypting our FTP server with an SSL/TLS certificate that we generate ourselves.
With the virtual environment set up and the default ProFTP server running, let’s configure ProFTP to serve two virtual FTP hosts that allow anonymous logins each.
📅 February 6, 2018
FTP might have been around for a long time, but it remains a superb way to transfer files on a private LAN.
Fast and easy to set up, FTP (File Transfer Protocol) is something worth considering if you host files that must be accessed by nodes on your network. A local Ubuntu repository? Quick storage sharing? Maybe you need a quick and easy way to anonymously upload and download files from within Nemo or Filezilla? FTP can be configured for a variety of uses.
“But, but, but…FTP is not secure! Why would I use that?”
Yes, plain FTP transfers password and data for the viewing of anyone sniffing the network, but we are talking about a private LAN under your control. No Internet access. Of course, FTP traffic can be encrypted using SSL/TLS or SSH in order to make FTP secure.
For this project, we are going to use ProFTP to set up two virtual FTP servers in a Linux Mint virtual machine (VirtualBox) that allow anonymous logins and use SSL certificates for encryption. In addition, the ftp data will be stored on its own virtual hard drive. The practice gleaned here can be applied to real hardware.
Ready? Here is how it’s done.
📅 December 21, 2017
An NVMe SSD makes a superb system drive for a Linux installation, but an easy point to forget is how to make Linux boot on systems that do not support NVMe booting from the motherboard BIOS.
So, here is a quick reminder.
📅 December 5, 2017
Linux Mint 18.3 was released a few days ago!
Despite being a superb Linux distribution, some fundamental problems remain. One such problem is the suspend/resume feature.
After installing Linux Mint 18.3 MATE, I found that if I assign a keyboard shortcut to suspend the system, the Linux system will go into suspend mode but immediately resume.
Power management issues, such as suspend and hibernation, have plagued Linux systems with a variety of distributions across a variety of hardware that I have tried, but since Linux Mint is my preferred distribution, this it the one I am focusing on.
Windows does not have this problem from my usage. Given the same hardware, I have found that Windows will suspend/hibernate/shutdown without any of the problems that are apparent with Linux, such as blank resume screens (requiring a system reset button press), no resuming, dead hibernation (never waking up), or immediate resumption following a suspend.
This article shows a quick way to fix the suspend issue so that we can assign a keyboard shortcut that will suspend Linux. Pressing the power button on the computer will wake up the system.
📅 September 19, 2017
Are you seeking an easy way to create ASCII illustrations for use in text files? Yes? Then, there is a program for you! Explore the fun with asciio!
If you have ever found the need to insert serious or silly ASCII art or ASCII flowcharts into a plain text file in order to illustrate concepts but dreaded the thought of laboriously entering the art from the keyboard, then you might want to try asciio.
asciio is a handy GUI that lets you create ASCII illustrations and then save them into a text file for copy and paste into other text files. Simply choose elements from premade stencils, and then drag, drop, and move them around on the canvas for perfect alignment