vbs to list all local users of Adminisitrator

January 26th, 2017 No comments

VBS Script to list all local users of Adminisitrator and Remote Desktop,id,desctiption,enable/disable, last_login(if local)

Read more…

Windows Enumerate Servers

January 26th, 2017 No comments

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.

Read more…

Categories: script, VbScripts, Windows Tags: , , , ,

yum update security check script

January 12th, 2017 No comments

simple bash script to check for missing security

this is important to make sure your linux is updated
here is the script:

Read more…

Categories: bash, BashScripts, Linux, Security Tags: , , ,

Failed to read keytab [default]

January 10th, 2017 No comments

When starting sssd in centos 7 I was getting this
ERROR:
Failed to read keytab [default]: No such file or directory

Read more…

Categories: HowTo, Linux Tags: , , ,

centos 7 disable useless services

January 4th, 2017 No comments

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

Read more…

python nagios scrape

December 22nd, 2016 No comments

Wrote a script in python using beautiful soap to scrub a web page.

Categories: python Tags: , , ,

Python 3 Django Mariadb

December 7th, 2016 No comments

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

Read more…

Categories: HowTo, Linux Tags: , , , ,

Centos 6 python 3.5 django

December 7th, 2016 No comments

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.

Read more…

URBACKUP CENTOS 7 HOW TO INSTALL

November 25th, 2016 No comments

URBACKUP CENTOS 7 HOW TO INSTALL

Centos 7 x64bit urbackup-server-2.0.36

Requirements:
yum install autoconf automake binutils bison flex gcc gcc-c++ gettext libtool make patch pkgconfig redhat-rpm-config rpm-build rpm-sign
yum install zlib-devel.x86_64 zlib.x86_64 libcurl-devel.x86_64 cryptopp-devel.x86_64

Read more…

Categories: HowTo, Linux Tags: , , , , , ,

VPN openvpn howto linux

November 17th, 2016 No comments

yum install -y openvpn
modprobe iptable_nat
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.4.0.1/2 -o eth0 -j MASQUERADE
cd /etc/openvpn/
openvpn –genkey –secret vpn.key
vi openvpn.conf
openvpn.conf
port 8080
proto tcp-server
dev tun1
ifconfig 10.4.0.1 10.4.0.2
status server-tcp.log
verb 4
secret vpn.key

Categories: HowTo Tags: , ,