From: Marcin Zawadzki <mzawadzk@elektron.elka.pw.edu.pl>
Subject: Re: Did i accidentally break my server?
Date: 2000/01/29 [thread overview]
Message-ID: <38695E51.DCAFFC1D@elektron.elka.pw.edu.pl> (raw)
In-Reply-To: MPG.12f4697d663cb4cd9896b0@oh.news.verio.net
I have similar problem ( user "root" not exist ) on my mandrake 6.1
(Red Hat clone) . When you have system disk , or you have cdrom you
may
1 - start system from cdrom , or floppy
2 - mount your hard drive
3 - do with any system files anything you want
Another tip .
I don't now what system you have , but i write you the way , in with i
hacked my own system , when i had lost my root acount.
1- I launched Mandrake install from cd-room
2- Chose "expert" mode
3- And I chose "upgrate"
4- Alt-Fx allow to switch between screens
5- On screen with sh prompt "cd some directory"
( I cannot rememeber with one - but my system was so nice , and he had
mounted
all /dev/hda(1-6) to this directory )
6- I simply set UID of hamer ( my normal acount ) to 0
7- I have reboot systen (normal , not from cd-rom )
8- Logged in as "hamer"
9- Repaired all damages
by the way - i have damaged my /etc/passwd , when i had tested my own
program
to add/del and modify users. ( User i was deleted , was root )
John wrote:
> Lemme start here. The system in question is a Cabriolet
> alpha. I was upgrading a few libraries so I could do
> my c++ programming for school on it. I decided along
> the way that I would clean out the other rpm's
> that I didnt need. (I dont use X). I didnt remove
> anything that I /knew/ had to be there. and I didnt
> upgrade anything that I didnt yet know about. I
> am running the system quasi-headless. just no monitor.
> I ssh'd to it, as root, and passwd immediatly told
> me I needed to change my passwd. so I did.
> it didnt take for some reason, it didnt sefault,
> it just didnt like it. I hooked the monitor back up,
> noticed that it thought it was jan 1 1970.
> I tried to login as root, and it failed.
> I tried to login as me, 'john', and it failed
> I logged in as me, via roots pw. and I cannot change
> pw's because passwd now segfaults. I havent changed
> that much, so /etc/passwd is still world readable.
> user 'john' has a pw. user 'root' doesnt, I deleted it.
> (the machine isnt on the net.) I dont know what
> else to do, I havent had anything like this happen
> before. ANY help is sincerly appreciated, I have coding
> for shcool to crank out on it, and I cannot work on the
> machine as it is. if I need to post anything else, please
> tell me.
> --
> plastic(at)oh(dot)verio(dot)com
next prev parent reply other threads:[~2000-01-29 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-23 5:00 Did i accidentally break my server? John
2000-01-23 5:00 ` Oscar Goosens
2000-01-24 5:00 ` michael james obrien
2000-01-24 5:00 ` Alan A. Beall
2000-01-29 5:00 ` Marcin Zawadzki [this message]
2000-01-31 5:00 ` SV: " Kai Nilsen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox