Subject: RE: [cobaltfacts] Dumb mistake - Deleted root...

> Charles Bowman wrote:
> > I ran PWCK
> > then, when asked:
> >
> > #delete line `root:...
> >
> > I clicked yes...
> >
> > I am currently in SSH (as root) and desperate to generate the
> root account
> > again, otherwise I am looking at weeks worth of work and considerable
> > downtime.
> >
> > I cannot get in via the web GUI, no password.
> >
> > Can anyone advise?
> >
> > -I am kicking myself so hard right now.
>
> Charles,
> I wish I had better news for you.... but you've just toasted your box.
>
> Once you tell it to delete, it's gone.   Ouch.
>
> --
> Chris Gebhardt
> VIRTBIZ Internet Services
> Hosting, Collocation, Dedicated Servers, Internet Access
> (972) 485-4125 | http://www.virtbiz.com

Charles,
Don't do this until someone else confirms that it _might_ work as it may
kick you out of you SSH session.

Can't you reset the admin password on the Raq via the front panel of the
machine, the root password is the same as the admin one, so shouldn't it be
regenerated back to username admin / password admin via doing it that way?

Only thing I could think of.

Phil

--------------------------------------------------------------------------
I have 4 RaQ4's and have compared them:

Normal Machine          Screwed-up machine
--------------          ------------------
/etc/shadow                     /etc/shadow
has root entry          NO ROOT ENTRY

/etc/shadow-            /etc/shadow-
has root entry          has root entry

/etc/passwd                     /etc/passwd
has root entry          no entries at all!

/etc/passwd-            /etc/passwd-
has root entry          has root entry


Therefore, can I copy "/etc/passwd-" over "/etc/passwd"
and copy "/etc/shadow-" over "/etc/shadow" ?
Or am I about to make a fixable situation completely stuffed?

Thanks for your help,
Charles







_______________________________________________
Cobaltfacts site list
[email protected]
http://list.cobaltfacts.com/mailman/listinfo.cgi/cobaltfacts

Reply via email to