Recover your Linux Root Password
Just follow the below steps to recover it. 1. Reboot your system and at the GRUB press “e”. Edit the first line and make sure it says “linux single”. Then press “b” to boot the new entry line. 2. You will now have access to a BASH prompt. Enter the following commands: cd /etcnano passwd
How to make terminal ask for password every time you type sudo command
when you type sudo command for the first time in a terminal it will ask you the sudo password.This password will be remembered by that terminal for 15 minutes by default. If you want terminal to ask for password each time you type sudo command just do as said below.1. Type at terminal sudo visudo
Read More