How to harden Debian Buster

To install the necessary dependencies, you can use apt. Run the following command to update the package list and upgrade the system: apt-get update -y && apt-get upgrade -y Then, install the required packages: apt-get install -y git ufw fail2ban sudo Add a new user You can skip this step if you already have a user with sudo privileges that is not root. useradd -m -s /bin/bash your_username SSH Keys To begin, generate an SSH Key pair on your local machine....

October 8, 2020 · 4 min · 683 words · Selwyn Rogers

Get Admin Email Notifications from Keycloak using Python and the Keycloak Admin API

To receive email notifications from Keycloak using Python and the Keycloak Admin API, we will need to perform the following steps: Authenticate with the Keycloak Admin API and fetch an access token. Request registration events from the API. Extract user information from the response. Perform any optional actions, such as adding a user to a specific group (this will be covered in another tutorial). Send an email containing user information to a specified email address....

March 19, 2019 · 12 min · 2437 words · Selwyn Rogers