If you want to connect your Linux server to a Windows Active Directory you can use SSSD which is fairly easy to setup. First make sure to open the following ports on the firewall Service Port Protocol...Read More
When you have registered and setup your Telegram bot you can fetch updates sent to it by using the getUpdates request. In case you have some sort of API its not always the best way to manualy fetch up...Read More
In case you cannot clean the C:\Windows.old directory using the clean manager (start -> run -> cleanmgr) you can use the following commands to takeover and delete the folder. This mostly saves you bet...Read More
After installing a new kernel on Ubuntu the interface could not be brought up because it did not exist anymore. ip link add dev wg0 type wireguardError: Unknown device type. After doing a modprobe it ...Read More
I get multiple requests from customers where they want accounts to be deactivated after not being logged in for X number of months. Some also want to delete the accounts when disabled for another X nu...Read More
Fire away those messages with this simple script! First of all, create bot at @botfather by searching botfather and send him the following command: Fill in the long name and user name for the bot when...Read More
How to make a IST/SOLL overview from all your Active Directory (AD) users with just a single powershell command. This will give you a CSV file which you can import in Excel or a database with an overv...Read More
These days you can check if passwords are already breached in the pwnedpasswords.com database. You can just add this function to your php page or functions file. It uses k-Anonymity and so only sends ...Read More
In case you have some files which you want to have encrypted in a secured container, like a password-ed zip file. When mapping this container file you have to enter a password or you can use a key fil...Read More
How to encrypt Postfix easily? Just add the following rules at the end of the config file /etc/postfix/main.cf: # SSL/TLS parameters smtpd_tls_cert_file=/path/to/your/certificate smtpd_tls_CAfile=/pat...Read More