Koozali.org: home of the SME Server

Locked Out

martinhick

Locked Out
« on: September 14, 2004, 11:48:14 PM »
Feeling security consious last week I changed the root password.

Despite writing it down I find that I am unable to access root any more.

I am absolutly sure I am using the correct password.

Is it possible that I have been hacked and some one has changed the password?

In either case I need access to me SME server. Does anybody know how I get into the box. I cannot make a boot disk because I cannot gain root access.

I have installed the same SME server for my brother so I could perhaps make a boot disk from his system.

How do I go about this operation and how do I usit to fix my system?

Martin :-(  :cry:  :-?  :oops:

bobk

Locked Out
« Reply #1 on: September 15, 2004, 12:24:31 AM »
If you loose the "root" "admin" password do this -

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

Code: [Select]
esmith single

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

Now type

Code: [Select]
passwd root
enter the new root password and confirm

Code: [Select]
passwd admin
enter the new admin password and confirm (same as root)

Then type

Code: [Select]
init 7

martinhick

Locked Out
« Reply #2 on: September 15, 2004, 10:28:02 PM »
CTRL-X gives me

Boot:

If I type esmith single the error is not an image [TAB] for immage list.

Options are then SMEServer-up or SMEServer-smp

Both these options then boot to a normal login and the unknown password is required.

Martin

bobk

Locked Out
« Reply #3 on: September 15, 2004, 11:40:59 PM »
Quote from: "martinhick"
CTRL-X gives me

Boot:

If I type esmith single the error is not an image [TAB] for immage list.

Options are then SMEServer-up or SMEServer-smp

Both these options then boot to a normal login and the unknown password is required.

Martin


At the Boot: prompt type
Code: [Select]
SMEServer-smp single
follow the rest of the instructions

martinhick

Locked Out
« Reply #4 on: September 16, 2004, 08:49:41 AM »
Thanks Bob,

I'll try that tonight.

Martin

martinhick

Locked Out
« Reply #5 on: September 16, 2004, 07:40:25 PM »
Hi Bob,

Everything sorted now. Back in with original root password.

Do both passwords have to be the same of did I just miss type the new one.


Martin

akishore

user root does not exist
« Reply #6 on: October 21, 2004, 06:32:32 PM »
I have the same problem and I tried the solution mention by Bob.  However, user root does not exists in my case.  I was able to reset the password for user admin.  So I can not change its password.  How do I create user root?

RavenIV

Locked Out
« Reply #7 on: October 22, 2004, 02:16:06 AM »
there MUST be a user root.
linux does not work without the root-account.
try it again.

BTW: root and admin have the same password.

cheers

akishore

Locked Out
« Reply #8 on: October 22, 2004, 03:22:46 AM »
I just found out that user "root" somehow changed to "Root".  Now I am trying to find a way to change it from "Root" to "root".  I have no idea how it happened as I did not change it.