A few days on the mailing list and ask someone to reset the password for the root. It is likely that for some reason if you have not used your installation of Linux in a long time you can forget the password for the root.

Although Linux is a system based on stability and security if it is possible to change the password of root in RedHat, Centos or Debian. If you do not have the password protected Grub is very easy to enter a Linux system in single user mode and change the root.

Recover and change the root in Debian 4.0

  1. We selected the first option at the prompt of Grub and pushed the letter e to edit the command before booting.
  2. Select the second line, usually begins with the word Kernel
  3. Again and press to edit the selected command
  4. At the end of the line are writing one of the two paths following:
  5. init = / bin / sh or init = / bin / bash

  6. Press the b button to reboot
  7. After the start of the Debian Linux shell prompt shows us the root ready to change the password, but soon it may be necessary to mount the system partition with the following command:
  8.   deathbian: ~ # mount-t proc proc / proc ** 
      deathbian: ~ # cp / proc / mounts / etc / mtab ** 
      deathbian: ~ # mount-o remount, rw / 
      deathbian: ~ # passwd 
    


** These commands may not be necessary, depending on your system.

Popularity: 5% [?]