Quickzi: How to Jail VSFTPD Users

If you’re worried about FTP users exploring outside of their home directory, you want to set up what is called a chroot jail.

To do this, open the /etc/vsftpd.conf file:

vim /etc/vsftpd.conf

and make the following modifications (line should be uncommented):


After you save the file, restart vsftpd:

/etc/init.d/vsftpd restart

Now all users will be jailed to their own home directory when using FTP.
Now, lets say you only want to jail certain users, and allow other users to browse other directories. To do this, you’ll want to again edit the configuration file.

vim /etc/vsftpd.conf

uncomment the following lines:


After you save the file, restart vsftpd:

/etc/init.d/vsftpd restart

Now you will need to create the /etc/vsftpd.chroot_list file and add in users you do NOT want to jail. By default, all users will be jailed. In the /etc/vsftpd.chroot_list file you can specify what users to allow to browse all directories.

Identify Files and Directories Eating All Your Disk Space

Kent Johnson over at SquareBits has enlightened us on three useful commands to find out which files and directories are the largest on your Linux system. These commands are helpful to have when your hard drive becomes full and your wondering if there are files that are taking up space that actually shouldn’t be. Continue reading

The Best Linux Web Resources

I have compiled a list of what I believe to be the best web resources for the Linux operating system. I have used all of these sites, or projects from these sites, over the years in my Linux ventures and continue to use some of them on daily basis.

Best Application Site:

Freshmeat is the webs largest index of Unix/Linux related software. There are a ton of Linux application sites out there, but nothing as well established as Freshmeat. There are also a good deal of articles on software applications and book reviews that I enjoy reading from time to time. If your looking for a software application for your Linux desktop, server, or router, chances are it is listed on Freshmeat.

Best Linux Chat Community:


Freenode is a IRC (Internet Relay Chat) server that hosts a ton of open source and Linux communities. There are hundreds, if not thousands, of help channels related to anything and everything Linux and open source. I can not stress how many times I have had a question and been able to hop on IRC and ask a chat room full of Linux geeks, while actually receiving a straightforward answer.

Best Linux Development Site:

Source Forge is the largest open source software development site on the web. Freshmeat, mentioned above, usually links to the Source Forge page of the application you are searching for. Open Source developers all around the world use Source Forge to host their applications and source code free of charge. If you are a open source software developer, Source Forge is a vital asset to you and your application.

Best Linux Document Site:

The Linux Documentation Project is a great resource for HOWTO’s, in-depth books, man pages, and frequently asked questions. Usually, if I have questions on a particular subject in Linux, the first thing I do is visit TLDP and search for any guides and HOWTOs.

Best Linux Help Site:

LinuxQuestions is a very valuable resource for newbies and long time Linux users. There are thousands of users that hang around the forums waiting to answer questions and help users in the Linux community. I have received a handful of answers from this site over the years as well as given back to the site by helping users that have questions. After all, thats what makes a community strong.

Best Linux Laptop Help Site:

If you have a laptop, and you run the Linux operating system on that laptop, you should be visiting the Linux Laptop web site. There are thousands of entries from users that have documented their experiences setting up and running Linux on their laptop. There are categories for just about every laptop out there, so if you are having issues getting Linux running smoothly on your laptop, this site should be your first stop. I also like to check out this site before I purchase a laptop to make sure I won’t run into any compatibility issues when installing Linux.

Best Linux Security Mailing List:

Security Focus has a mailing list that focuses strictly on Linux. I recommend subscribing to this list and taking part in the discussions. There are a ton of highly intelligent users that subscribe to this list, and if you have any security related questions, this should be one of the places you ask.

Best Linux Mailing List(s):

There are a ton of Linux specific mailing lists out there, and it all really depends on your distribution of choice which determines the best. So instead of choosing a best, here is a link of a list of popular mailing lists that Linux.org put together.

Best Linux Publication:

I’ve been a Linux Journal subscriber for quiet some time, and their articles have always taught me something. The subscription cost is fairly cheap for the quality of content, so I would recommend subscribing and reading what the columnist have to say. There hasn’t been a monthly release yet where I haven’t learned something new in the Linux world.

Best Linux Radio Show:

The guys over at The Linux Link Tech Show do an excellent job every week interviewing popular figures in the Linux community, discussing hot topics and explaining new trends. I recommend that every Linux enthusiast listen to this show, as I have learned a lot from TLLTS.

Best Linux Search Engine:

Of course Google is the best search engine! Not many people are aware that Google offers a Linux specific search. So go check it out!

Best Linux Security Site:

Security Focus is a great resource all-around. I use the RSS feeds to stay up to date on the security vulnerabilities in Linux as well as the frequent, in depth articles that are published by the security experts. You can find just about anything related to Linux security on this web site.

Best Linux User Group:

This user group is a great resource for asking questions and learning about other users experiences. The archive dates back pretty far and it’s run by Google, so you already know that you’ll be able to search for topics of interest without any problems.

If you have anything you wish to contribute please feel free to leave a comment. Again, these are in my opinion the best resources on the web for the Linux operating system only because I myself have used them time and time again. If there are resources out there that I left out and you find yourself using time and time again, please let me know, I’m interested in checking them out!

Simple Samba Slackware Setup

If you are wanting to connect your Windows machine(s) to your Linux machine(s) over your network, then Samba is what you need. Essentially, Samba allows your Linux machine to communicate with your Windows network to share files, resources, and printers. This document will cover the steps of installing and configuring Samba on Slackware 11.0.0. Continue reading

8 Windows XP Tips & Tricks

Following are a collection of nifty Windows XP Tips & Tricks that I have gathered and used over time.

  • Delete Files Immediately
    This will allow you to delete files from your system without sending them to the recycle bin first.
    Select Start > Run… type gpedit.msc then select User Configuration > Administrative Templates > Windows Components > Windows Explorer then locate the ‘Dsupo not move deleted files to the Recycle Bin‘ setting and set it.

Continue reading

SSH + Screen = Easy Administration

I have access to a numerous amount of Linux machines for work and personal matters. Instead of having a ton of different SSH or PuTTY windows open, each connected to a server that I administrate, I decided to use screen to connect to all of them, and manage each one in a different screen window.

Before getting into my screen configuration, its also important to note that on top of my screen setup, I have also configured SSH to authenticate via SSH keys, so I wouldn’t have to always type the password when admining from my “playbox”.

Here is how I set up SSH keys.

Continue reading