Boot into single user mode, and you are the root. Then, you can change root password.
On 2009-03-20, Sudev Barar <sba...@gmail.com> wrote: > 2009/3/20 hadi motamedi <motamed...@gmail.com>: >> "We have one HP t5725 server with Debian Linux 3.1 installed but the >> operator is getting the following message on the console port when trying to >> boot the server : >> "Unexpected inconsistency, run fsck manually . give root password for >> maintenance or type ctrl-D to continue" >> Unfortunately, he has forgottten for the root password and pressing ctrl-D >> will just reboot the server to the above message again. Please let me know >> how we can overcome. > > One way this can be done is that you can boot from a Live CD, mount > the root partition and then edit the /etc/shadow. Remove only the > password hash field for root. Then reboot the server directly and > enter root without password. > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org