Turn off wifi radio in Linux / Centos
I have a few boxes that have built in wifi and I dont need it turned on. So I turn it off using the following command nmcli radio wifi off To make sure the wifi radio stays turned off in … Continue reading →
I have a few boxes that have built in wifi and I dont need it turned on. So I turn it off using the following command nmcli radio wifi off To make sure the wifi radio stays turned off in … Continue reading →
I have found the following two sites helpful in finding issues with the configuration of SSL secured web sites https://ssltools.digicert.com/checker/ https://www.ssllabs.com/ssltest/analyze.html Test which ciphers (TLS, SSL, etc) are enabled nmap -sV –script ssl-enum-ciphers -p 443 www.yourdomain.com Ref: https://nmap.org/nsedoc/scripts/ssl-enum-ciphers.html
Continue reading →If you need email delivered to a specific server for selected domains you do the following: As root, edit the /etc/postfix/main.cf. Find (or add) the line that starts with transport_maps= If it does not exist, add the line “transport_maps=hash:/etc/postfix/transport. If … Continue reading →
Running ssh across a vpn connection I started having my ssh sessions fail to connect. After starting ssh with the “-vvv” option, the session would timeout after getting a debug1: expecting SSH2_MSG_KEX_ECDH_REPLY After doing some research, I found other people … Continue reading →
A quick synopsis on setting up a Cisco ASA and a Centos 6 or 7 system to use SNMP v3 to be monitored by Cacti Cisco ASA en conf t # create a snmp-server group (needed for SNMP v3) # … Continue reading →
Pandoc Everyone I know who works with markup languages says Pandoc is the go-to utility for converting between those languages. And for good reason: Pandoc not only does some pretty nifty conversions, it’s fast, too. Have a file formatted with … Continue reading →
In linux, hard drive dev assignments can get changed between reboots – especially with external/removable drives. This means using /dev/sdX or /dev/hdX is not the best way to mount a drive that needs to be mounted every time at boot. … Continue reading →
first – determine the dev of the hard drive – as in /dev/sda /dev/sdb etc Then excute shred -vz -n 3 /dev/XXX where XXX is the identifier of the hard drive Increase 3 to a larger value for higher security … Continue reading →
Updated xrdp on a Centos 7 system and xrdp would not start. Error logged in /var/log/messages: Failed at step EXEC spawning /usr/sbin/xrdp: Permission denied Fix: chcon -t bin_t /usr/sbin/xrdp /usr/sbin/xrdp-sesman Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1177202
Continue reading →HANDY ONE-LINERS FOR SED (Unix stream editor) Apr. 26, 2004 compiled by Eric Pement – pemente[at]northpark[dot]edu version 5.4 Latest version of this file is usually at: http://sed.sourceforge.net/sed1line.txt http://www.student.northpark.edu/pemente/sed/sed1line.txt This file is also available in Portuguese at: http://www.lrv.ufsc.br/wmaker/sed_ptBR.html FILE SPACING: # … Continue reading →