How to make terminal ask for password every time you type sudo command

On December 19, 2009, in password, sudo, terminal, by Dipin Krishna

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 […]


Recover your Linux Root Password

On September 5, 2009, in password, recover, root, by Dipin Krishna

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 […]


Protect your grub by applying a password to it (grub-md5-crypt is broken)

On August 20, 2009, in grub, password, protect, by Dipin Krishna

Maybe you want the user to enter a password in order to boot the Recovery Mode or your secondary OS. You have to set that password in the /boot/grub/menu.lst – for higher security you should crypt your password with md5. You have two ways to do that. The first one might-not work for all. 1. […]


Set the default root password

On November 12, 2008, in Default, password, root, set, by Dipin Krishna

Setting the default root password: Some Live Linux distributions are created without a root password by default (the root account is inactive). This is particularly true with Debian based distributions like Ubuntu. Setting a root password enables us to access some essential tools such as the synaptic installer. In most cases, having no root password […]


Reset Your Ubuntu Password Easily from the Live CD

On October 22, 2008, in linux, password, reset, reset password, ubuntu, by Dipin Krishna

Our last article on how to reset your Ubuntu password easily through the grub menu was quite popular, so I’ve decided to make a series on all the different ways to reset your password on either Linux or Windows… today’s lesson is how to use the Live CD to reset the password. Note that we’ll […]