VBS Script to list all local users of Adminisitrator and Remote Desktop,id,desctiption,enable/disable, last_login(if local) Here is the script: script src="http://gist-it.appspot.com/github/xoroz/scripts-windows/blob/master/listadminrdp.vbs"
Windows Enumerate Servers
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.keytab
klist -k
vi /etc/samba/smb.conf
security = ads
dedicated keytab file …
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:…