This user hasn't shared any biographical information
Posted in linux on February 13, 2018
📅 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.
Posted in linux on February 12, 2018
📅 February 12, 2018
“What can we expect from a 256GB microSD card in Linux? Is it truly as fast as the box claims?”
MicroSD cards are increasing in capacity. The latest consumer-friendly capacity available at a somewhat reasonable price (as of the time of this writing) is the 256GB card. Yes, 256GB on an itty-bitty card so small you could lose it in a vacuum cleaner, accidentally dump it in the trash, and wonder where it went…and given its cost, you would probably cry in the meantime.
Today’s microSD card is the Samsung EVO+ 256GB with a UHS speed class of 3 (U3). The box claims “up to 100MB/s read and 90MB/s write speeds.” Hmm, we shall see. Box claims always tend to be exaggerated — especially when the fine print on the back indicates that the actual transfer speed might be lower for whatever reason.
Nonetheless, this card does produce decent results, and it is 100% compatible with Linux. Let’s look at a few benchmarks.
Posted in linux on February 9, 2018
📅 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.
Posted in linux on February 7, 2018
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.
Posted in linux on February 6, 2018
📅 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.
Posted in other on January 31, 2018
📅 January 31, 2018
The Raspberry Pi is a wonder worker!
So many uses are possible. If you enjoy Linux, then the Pi wonder becomes even more wonderful since most applications depend upon Linux.
Do you have a Raspberry Pi tucked away in a box somewhere because you are not sure what to do with it after the novelty wore off?
Here are five free, useful purposes for the humble Pi.
Posted in linux on January 4, 2018
📅 January 4, 2018
“Thunar is not showing any thumbnails despite thumbnail generation enabled. Why?”
I ran into this issue in Linux Mint 18.3 Cinnamon when using the Thunar file manager. Traversing directories functioned fine, but no thumbnails were generated for media files, such a images, videos, and music containing album art.
Here is one technique I tried to make the thumbnails appear.