Hey folks, check out one of these if you want to see what ciphers are support by a host: nmap –script ssl-enum-ciphers -p 443 dahost.mynetwork or maybe one of these to check for specific protocols: openssl s_client -connect dahost.mynetwork:443 -tls1 ayyyy Mm.,
Tag: RHEL
Metadata file does not match checksum CentOS/RHEL/ScientificLinux
Greetings Traveler, I get various errors sometimes when running updates or installing a new package using the yum command. Usually cleaning the yum cache fixes it: yum clean all Mm.,
FreeIPA Password Expiry Notification Script for Red Hat Identity Management
Hey there friends, I’ve got a quick’n’sloppy bash shell script that’s fairly useful, if you’re using a FreeIPA identity management domain on CentOS/RHEL/Scientific Linux and want to notify people via email of when their password is going to expire. The script assumes it’s being run on an IDM server system with access to the following… Continue reading FreeIPA Password Expiry Notification Script for Red Hat Identity Management
Install mod_security in Apache httpd for CentOS/RHEL/Scientific Linux
mod_security is an Apache plugin which is a good way to prevent malicious attacks on your web application and even just using the base/default configuration from the EPEL repository rpm package gives a pretty decent rule set and helps with hardening your system. mod_security is all about rule sets and looking for specific types of… Continue reading Install mod_security in Apache httpd for CentOS/RHEL/Scientific Linux
How To Install The EPEL Repo on CentOS/RHEL/Scientific Linux 7, 6 and 5
CentOS 7: vmhacks.com]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm vmhacks.com]# rpm -Uvh epel-release-7*.rpm CentOS 6: vmhacks.com]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm vmhacks.com]# rpm -Uvh epel-release-6*.rpm CentOS 5: vmhacks.com]# wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm vmhacks.com]# rpm -Uvh epel-release-5*.rpm Enjoy Mm.,
Whitelist an IP using denyhosts in CentOS 6 RHEL 6
Hi there, Add your IP to this file and restart if you want to whitelist an IP in denyhosts: /var/lib/denyhosts/allowed-hosts Also make sure to check the /etc/hosts.deny file for the IP if it’s already been blocked. Then restart service denyhosts restart Yo Mm.,
Run a Command on Multiple Systems at once using Bash – CentOS/RHEL
Hey there friends, So there are tons of different methods out there for managing multiple systems. Configuration management, centralized command “senders” and the like (CFEngine, Puppet, Ansible, Chef). One quick and dirty way you can manage multiple systems without setting up anything fancy or new is just with a one line for loop in bash.… Continue reading Run a Command on Multiple Systems at once using Bash – CentOS/RHEL
Use rsync over ssh CentOS RHEL Scientific Linux Bash
Make sure you have rsync installed on both servers and then you can use it with ssh to sync remote directories in one line: cd /webroot/www rsync -avz -e ssh syncboy@FROMHOST:/webroot/www/vmhacks.com . enjoy. Mm.,
Compiling PHP 5.5 from Source on CentOS 6 RHEL 6 – configure: error: xml2-config not found. Please check your libxml2 installation.
Hey br0’s, Check this out: say you’re on CentOS 6 or RHEL6 or what have you and you’re trying to compile php 5.5. You may end up getting the following error: vmhacks.com]# ./configure –prefix=/phproot configure: error: xml2-config not found. Please check your libxml2 installation. Here’s what you need to run in order to install the… Continue reading Compiling PHP 5.5 from Source on CentOS 6 RHEL 6 – configure: error: xml2-config not found. Please check your libxml2 installation.
Relay Mail To Two or Multiple eMail SMTP Servers Simultaneously Using exim in Linux CentOS 6 RHEL 6
Hey there fellow Hurston students! I recently completed migrating a Windows email server running SmarterMail to a Linux server running Zimbra. One of the methods used to ensure a smoother transition over to the Zimbra system was to configure an exim mail relay to receive mail destined for my domains and deliver them to both… Continue reading Relay Mail To Two or Multiple eMail SMTP Servers Simultaneously Using exim in Linux CentOS 6 RHEL 6