Skip to main content

I Forgot My Password

Today's digital world is guarded by keys. Keys in the form of passwords or passphrases or whatever you want to call it. It's about 12 to 15 characters long and without it you lose access to information and communication. You even lose proof of identity.

I use Linux and occasionally I forget my administrative password. Here's how to recover from such tragedies.

Reboot your computer.

Hold the shift key to get to the GRUB menu. What you are after is to boot to the recovery mode of your kernel. Once the menus presents itself use the arrow keys to highlight the particular kernel (recovery mode) and hit enter.

You want to be root and again just highlight the particular item on the menu presented. Then press enter. It should drop you to a shell like so:

root@desktop:#

You are now in a read-only file. To change that type:

root@desktop:#mount -rw -o remount /

Then to set a password for a user type:

root@desktop:#passwd username

Type the new Unix password:

Retype the new Unix password:

And that's it. Reboot once more. Use the new password to login.


--
Donato Roque@desktop
mobile:   63-9185721710
I'm on twitter and facebook. Check out my blog.
Consider using my pgp keys for privacy.
Post a Comment

Popular posts from this blog

America Must Evolve Fast Or Die

This was a music festival concert venue in Las Vegas, Nevada. A shooter in the 32nd floor of a nearby hotel across the general area opened fire then shot himself. He killed 59 people in what reports call the biggest mass shooting in modern American history to date.
America must learn from the lessons of previous mass shootings otherwise this tragedy will happen again. Reasonable animals evolve when their lives and the life of the pack or group are threatened. They change how they face the problem and not just move on. They don't dismiss reality. They recognize the problem and listen to reason. For those who say nothing can be done, you're wrong. There is something America can do. It is not premature to talk about gun control. This is the time to talk about it.

GnuCash In Arch Linux

I updated a number of packages today and Gnucash won't start. I immediately went to the Archlinux website to see what's happening. I can't seem to find the package in the community repo. There's a thread in AUR on how to compile Gnucash by hand no AUR helpers.

But I tried to compile goffice and webkit2, needed packages for Gnucash-git. No. It doesn't work for me.

Funny but I'm now using my Android Tablet with Gnucash app to record transactions. This is working. We need to have the stable GnuCash back. This is a stop gap on my part. Transactions don't stop when computers stop. Please don't make me go back to paper.

Star Wars: The Last Jedi Poster

The Last Jedi is coming this December 2017. I can't wait. My guess is we can watch it later in the Christmas season or even later than the New Year 2018. The Filipino Film Festival season usually starts the 15th December up to January 7th. Only Filipino films are shown in theaters. Unless there's a special run, we would see it much later.