Koozali.org: home of the SME Server

help !!!!!!lost root password o SME 5.5

hankycheng

help !!!!!!lost root password o SME 5.5
« on: October 05, 2002, 09:44:45 AM »
i lost root password on SME 5.5!!!!!!!
how can i do ?
please help!!!!

Rob Wellesley

Re: help !!!!!!lost root password o SME 5.5
« Reply #1 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

Rob Wellesley

Re: help !!!!!!lost root password o SME 5.5
« Reply #2 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

Robert Harlow

Re: help !!!!!!lost root password o SME 5.5
« Reply #3 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

guestHH

Re: help !!!!!!lost root password o SME 5.5
« Reply #4 on: May 15, 2003, 04:20:59 PM »
another suggestion:

don't forget to 'passwd admin' too.