Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: hankycheng on October 05, 2002, 09:44:45 AM

Title: help !!!!!!lost root password o SME 5.5
Post by: hankycheng on October 05, 2002, 09:44:45 AM
i lost root password on SME 5.5!!!!!!!
how can i do ?
please help!!!!
Title: Re: help !!!!!!lost root password o SME 5.5
Post by: Rob Wellesley on October 10, 2002, 03:22:22 AM
I would say that you are up the creek without your paddle (password :-)

If you have no backup then you will need to mount the drive in another freshly installed SME and copy over the data/conf files.


rob
Title: Re: help !!!!!!lost root password o SME 5.5
Post by: Rob Wellesley on October 10, 2002, 03:43:59 AM
Rob Wellesley wrote:
>
A whole lot of rubbish - he should have read the next post ! Silly me!

do this -
hit CTL-X when the esmith graphic comes up at boot-time. This puts it into lilo text input mode.
Type:

esmith single

This boots e-smith into single user mode.
This logs you on without a root password but with SU powers!
Now type

passwd root

Now enter the new root password and confirm.
Then type

init 7
Title: Re: help !!!!!!lost root password o SME 5.5
Post by: Robert Harlow on March 29, 2003, 12:47:11 PM
Thank you Rob, that information is a real gem. It's been boilerplated here in a notes area I keep, just in case, for emergencies:-)

best wishes, Robert
Title: Re: help !!!!!!lost root password o SME 5.5
Post by: guestHH on May 15, 2003, 04:20:59 PM
another suggestion:

don't forget to 'passwd admin' too.