Categories
r00t

How To reset the root password in Debian Linux

Many times I was in the situation where I am creating an account on a website and asking myself “what will I do if I forget the password?” and then check if that website offers the option of password recovery. When this situation is about the computer you’re using, there is no such option, so you must find other ways for recovering the password. One of these situation is root password in Linux.

If single-mode boot doesn’t help (because you are being asked for the root password if you want full access), then the easiest solution is to do the following things…