Back to some VBS scripting… This script enumerates all Servers on the current domain and test it with a ping then writes to a server.txt file.
yum update security check script
simple bash script to check for missing security this is important to make sure your linux is updated here is the script:
Failed to read keytab [default]
When starting sssd in centos 7 I was getting this error: “Failed to read keytab [default]”SOLUTION:rm /etc/krb5.keytabklist -kvi /etc/samba/smb.confsecurity = adsdedicated keytab file = /etc/krb5.keytabkerberos method = secrets and keytabrealm =service smb restartnet ads testjoinnet ads leave -U Administratornet ads […]
centos 7 disable useless services
This some of the tuning I do on a centos 7 install REMOVE USLESS NETWORK INTERFACE brctl delbr virbr0 systemctl get-default systemctl set-default multi-user.target DISABLE USELESS SERVICESON GUI INSTALLS: ON BASIC WEB INSTALLS: systemctl disable firewalld.service irqbalance.service abrtd.service polkit.service smartd.service […]
python nagios scrape
Wrote a script in python using beautiful soap to scrub a web page.
Python 3 Django Mariadb
Centos 6 x64 Python 3 Django Mariadb I found out the hard way that python 3 default mysql driver does not work Anyways You will need to install mariadb devel vi /etc/yum.conf.d/mariadb.rebo # CHECK YOUR MARIADB VERSION rpm -qa |grep […]
Centos 6 python 3.5 django
I do like working with RedHat / Centos 6 (python 2.6.6) but when it comes to Python, urghh…They just remain old old, its sad. I dont know why. Solution is to use virtualenv and install a second python version. At […]