December 9, 2020

How to add a GUI on CentOS 7 and connect to it via xRDP – step by step instructions

How to add a GUI on CentOS 7 and connect to it via xRDP – step by step instructions   In this tutorial we’ll cover the […]
July 27, 2018

Linux and CIFS files permissions

Since I spend almost every day working with the Azure Cloud, these days I’ve been playing around with the Azure File Share and Linux. One of […]
February 17, 2022

Migrate to CentOS Stream

CentOS 8 will is no longer receiving updates from the official CentOS project. So, how will you update your CentOS after Dec 31st, 2021? You will have some options: Migrate to CentOS Stream
January 22, 2020

Azure Linux – troubleshooting the “no boot/no ssh” scenario

Azure Cloud silently released some new features to help everyday Azure Cloud Administrators with troubleshooting the "no boot/no ssh" scenario. The efforts into this direction started about 2 years ago with the public release of the "Serial Console" feature, which finally allowed customers to reach out to their VMs from the Azure Portal, without the need of an SSH connection.
April 25, 2019

Azure Storage Explorer on Linux

Microsoft Azure Storage Explorer is a widely used tool by all Azure cloud administrators. However, with the increasing number of Linux VMs in the Azure Cloud, having a working version of Azure Storage Explorer on a Linux machine became a necessity, and Microsoft did took the 1st steps into providing one.
March 21, 2018

Force close active SSH connections after a defined time interval

How to kill an active SSH session after a defined time interval ?   Every Linux admin has used the idle timeout option  in /etc/ssh/sshd_config  given […]
December 22, 2017

Linux SSH authentication with Google

Today I decided to play around with the Google two factor authentication method on one of my Linux VMs hosted in Azure. What this means? Well, my idea was to have a VM that I ususaly login with my SSH key automatically, to prompt me for a code that changes every 30 seconds. Google Authenticator offers just that.
July 31, 2017

How to remove orphaned PID files

If you have multiple PID files for the same process ( e.g.,, ecc. ) you may have a situation like the one described above. So, how do you delete the PID files for the processes that are no longer running, without interfering with the running processes?
February 13, 2017

Install an configure tacacs+ on Debian 8 – part 2

Let’s connect our Cisco switch with our Debian 8 tacacs+ server The first step is to connect to the ASA device and gain privilege exec access. […]
November 17, 2016

Install an configure tacacs+ on Debian 8 – part 1

About a year ago we needed at work a simple authentication solution for a VPN, but we didn’t had the budget for a standalone solution (like […]
November 14, 2016

PHP LDAP notify on expiring passwords

Hello, Bellow is a script I put together to notify users via e-mail about their domain account password expiration. The script is set to: notify users […]