A while back I spit out a post on how to configure an anonymous ftp server that allowed uploads and downloads, which you can find here. Its a very exciting read and will tell you everything that you need to know to get you up and running with an anonymous ftp server. However those instructions are specifically for a server that allows anonymous uploads as well as downloads. So today we are going to go over only the steps for anonymous download, which is actually much easier.
semanage
RHEL6 – SELinux Troubleshooting II: Electric Boogaloo
So a good while back I posted an article on how to troubleshoot SELinux violations and after reviewing that article as part of a troubleshooting exercise, I realized that I left out a few details. Needless to say my original article was not as clear as it should be. Anyway I wanted to use up a few more bytes of the internet to clarify.
SELinux – Invalid Regex in /etc/selinux/targeted/contexts/files/file_context
So I have been doing my best to better understand SELinux as of late, and last night when I was practicing I ran into an issue that had me banging my head against by desk. Specifically I was playing around with the semanage command and working on defining a particular context to a directory that I had just created. However I was not exactly quite sure of the exact regex to use (or even if I needed to use a regex)
RHEL6 – Using Semanage and Restorecon to Modify SELinux File Contexts
Ok, semanage, when used with the fcontext argument, is used to define SELinux file contexts for file. It basically adds the new definition to the file, /etc/selinux/targeted/contexts/files/file_contexts.
RHEL6 — Troubleshooting SELinux Violations
Dear Reader: Welcome to my third and not final instalment on SELinux. The first two can be read here and here. They are exciting reads and are sure to have you on the edge of your seat. Anyway, the best way to implement SELinux sucessfully is to know how to troubleshoot when things aren't going your way. If you panic at the first sign of trouble, you are just going to end up turning off SELinux and not reap the rich rewards that it will bring you in life. Now that I have convinced you to run SELinux lets get started.
RHEL6 – SELinux Modes and Contexts
SELinux, or Security-Enhanced Linux as its known by the guy who invented it, is a Linux feature that provides an additional level of security by setting rules for which processes can access which files, directories, ports, etc. Display and Modify SELinux Modes: You can use /etc/sysconfig/selinux to change the default SELinux mode at boot, and … Continue reading RHEL6 – SELinux Modes and Contexts