All Linux HowTo's Security HowTo's

Minimal Apache SSL Configuration (Redhat)

This document shows the minimal information you need to have a working Apache server serving HTTPS requests. It’s typical to put your configuration files in (when using Redhat) “/etc/httpd/conf.d/”. We’re using certificates supplied to us and not self signed certificates. <VirtualHost *:443> LogLevel warn SSLEngine on SSLCertificateFile /etc/httpd/keys/www.example.com.crt SSLCertificateKeyFile /etc/httpd/keys/www.example.com.key

Read more
All Linux HowTo's Security HowTo's

Install vsFTP on CentOS/Redhat and enable TLS

This tutorial demonstrates how to install vsftp on CentOS/Redhat and configure it to allow connections over TLS for additional security. We’ll also chroot the users to their own directory. Install vsftp: yum install vsftp Edit the config file “/etc/vsftpd/vsftpd.conf” and set the following: rsa_cert_file=/etc/vsftpd/vsftpd.pem rsa_private_key_file=/etc/vsftpd/vsftpd.pem chroot_local_user=YES anonymous_enable=NO ssl_enable=YES allow_anon_ssl=NO force_local_data_ssl=YES

Read more
All Linux HowTo's Security HowTo's

Install and Configure Tripwire on CentOS/Redhat

This article demonstrates how to install Tripwire on CentOS and Redhat. yum -y install tripwire Then have a look at “/etc/tripwire/twcfg.txt” and “/etc/tripwire/twpol.txt”. Nothing needs changing unless you need to. I’d suggest adding “[email protected]” to “/etc/tripwire/twpol.txt” to have reports emailed to you. Run the following: tripwire-setup-keyfiles The above requires you

Read more
All Linux HowTo's Security HowTo's

Reset a lost MySQL Password on CentOS and Redhat Linux

Use these instructions to reset a lost MySQL root password. I’ve taken these steps from the website “http://www.rackspace.com/knowledge_center/article/mysql-resetting-a-lost-mysql-root-password”. All credit to them. Note that this is done as the ‘root’ user. First stop MySQL and start it in ‘safe mode’: service mysqld stop mysqld_safe –skip-grant-tables & Now login without the

Read more