How To Replace a lost Key Pair with new one on an EC2 instance

Access to Amazon EC2 instances specially the Linux instances are always protected by a private key pair. Private key is only the way to get access to the instance, what if you lost the key? Is your servers lost in black hole? Thankfully nothing is lost you still can access your server, let me show you how can you solve this problem.

30f249d

Continue reading “How To Replace a lost Key Pair with new one on an EC2 instance”

HOW TO RECOVERY A PASSWORD USING THE RECOVERY MODE OF UBUNTU 14.04LTS SERVER EDITION

Riccardo Magrini

Ubuntu_Kernel_Server

IN CASE WE NEED TO RECOVERY A PASSWORD MISSED IN OUR UBUNTU 14.04LTS SERVER EDITION THE BEST PROCEDURE TO RE-SET IT IS TO USE THE RECOVERY MODE.

1 STEP – RECOVERY MODE

REBOOT THE SYSTEM AND OPEN IN GRUB MENU AND GOTO “Advance options …”

Screenshot from 2014-04-23 12:09:05

SELECT THE RECOVERY MODE

Screenshot from 2014-04-23 12:09:11

SELECT THE OPTION “root …”

Screenshot from 2014-04-23 12:09:43

2 STEP – SET NEW PASSWORD

NOW RUN THE COMMAND

$: mount -rw -o remount /

Screenshot from 2014-04-23 12:10:44

SET A NEW PASSWORD FOR OUR USER (IN THIS CASE IS “user”)

Screenshot from 2014-04-23 12:10:53

NOW REBOOT THE OS

$: reboot

AT THIS POINT WE CAN USE THE NEW PASSWORD FOR THE ACCOUNT “user”.

“cya to the next 1…. Njoy !”

Disclaimer: All the tutorials included on this site are performed in a lab environment to simulate a real world production scenario. As everything is done to provide the most accurate steps to date, we take no responsibility if you implement any of these steps in…

View original post 8 more words