Posts Tagged ‘Security’

Reset a Linux password from a live CD

January 10, 2019 Leave a comment

Usually any Linux live CD will work. In my case since the installed version of Linux is Mint, I’m just booting to the Mint installation DVD which will by default launch a live session.

  1. Boot to live CD.
  2. Open terminal.
  3. Find the drive with OS installed. (It’s usually /dev/sda1)

sudo fdisk –l

  1. Create a temporary directory. It’s only virtual since the live CD runs in memory.

sudo mkdir /mnt/sda1

  1. Mount the OS drive to the virtual directory.

sudo mount /dev/sda1 /mnt/sda1

  1. Change the terminal root to the mounted drive.

sudo chroot /mnt/sda1

  1. Change the password.

passwd john

  1. Type the new password twice.
  2. Exit chroot.


  1. Unmount the drive.

sudo umount /mnt/sda1

  1. Remove Live CD & reboot.
Categories: Computers Tags: , ,

Encoding & Decoding Base64 using PowerShell

November 4, 2018 Leave a comment

# Encode string using Base64

$Text = "This was encoded using Base64"

$Bytes = [System.Text.Encoding]::Unicode.GetBytes($Text)

$Encoded = [Convert]::ToBase64String($Bytes)


# Decode Base64 to string


$Decoded = [System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String($Base64))


Splunk Certified User

August 28, 2018 Leave a comment

A guy from one of the Facebook groups I’m in challenged everyone to take the free Splunk Fundamentals 1 course & take the certification test. Accepted & done! I must say, for a free course it was pretty good. Picked up a lot of good information. However, it looks like they are ending this course but a new track will be starting soon.

Categories: Computers Tags: , ,

Cisco Certified Network Associate Cyber Ops (CCNA Cyber Ops)

I’ve been working on the Cisco CCNA Cyber Ops certification since December 2017. I was very fortunate to have been invited & accepted into the “Cisco Global Cyber Ops Scholarship Program“. Cisco invested $10 million in this program to increase the pool of talent in the cyber-security field; one that we as Americans really need to focus on. It was fast paced & exciting. Now on to the next one…

%d bloggers like this: