[Cyberark] Enable html5 gateway for PSM server

Once you finished installation the HTML5 gateway, you need to make some setting change to let PSM know where is the HTML5 gateway. Login PVWA with admin privileges. Then navigate to “Options>Privileged Session Management”. 2. Right click on “Configured PSM Gateway Server” and select “Add PSM Gateway server” 3. Select newly add item and type… Continue reading [Cyberark] Enable html5 gateway for PSM server

Enable console(UART) on raspberry pi 4b running ubuntu22.04

I recently had some issue on how to enable UART(console) port on a raspberry pi device. This post will help you configure raspberry pi to be accessible by UART(console) on the board. 01. Edit the config.txt under /boot/firmware. Add “enable_uart=1” in the file or edit if the line already exist. 02. Edit cmdline.txt under /boot/firmware.… Continue reading Enable console(UART) on raspberry pi 4b running ubuntu22.04

Let your python script take command line argument with Argparse

Sometime in your life you might want your script to be able to accept command line argument as input. This post will teach you the most basic usage of Argparse library. I only touch surface of this library if you would like to know more detail usage read docs.python.org for further instructions. Installation is quite… Continue reading Let your python script take command line argument with Argparse

Install Rocky Linux

Download the DVD iso from rockylinux. Since DVD iso is the full installation package. Step01 Mount the iso to the device you want to install rocky linux. Step02 Choose language you would like to use Step03 Basic system configuration page (Step 04~08 will refer to this snapshot)The installation can not continue if you have not… Continue reading Install Rocky Linux

Factory Reset Palo Alto Firewall with admin password

This post will show you how to perform factory reset on a Palo Alto firewall. And this post assume you have admin user password of the firewall. Step01Enter maintenance mode using the command below. Step02Select “Factory Reset” option. Step03Confirm to perform a factory reset by selecting the “Factory Reset” option. Step04Wait the system being reset.… Continue reading Factory Reset Palo Alto Firewall with admin password

Change hostname on Centos (CLI)

If you forgot to set the hostname at the installation process, it’s little bit tricky to change it using shell(CLI). This blog post will teach you how to change hostname using command line. Prerequisite1. You have root password/sshkey or sudo user’s password Step 01Check current hostname using hostnamectl. The value display under “Static hostname” is… Continue reading Change hostname on Centos (CLI)