[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Technical Inquiry



On Fri, 20 Mar 2009, Jeffrey Cao wrote:

Boot into single user mode, and you are the root.
Then, you can change root password.

Says he, carefully snipping the admonition in the post he quoted about top posting. Priceless.


On 2009-03-20, Sudev Barar <sbarar@gmail.com> wrote:
2009/3/20 hadi motamedi <motamedi24@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.





--
Bob Holtzman
Your mail is being read by tight lipped
Homeland Security agents who fail to see
the humor in Doctor Strangelove


Reply to: