* Urgent help needed . Passwd file deleted
@ 1998-07-06 20:26 George
1998-07-06 21:21 ` Christopher Curtis
1998-07-06 22:26 ` Quant-X Alpha Linux Support
0 siblings, 2 replies; 4+ messages in thread
From: George @ 1998-07-06 20:26 UTC (permalink / raw)
To: linux-admin, axp-list, Jay.Estabrook
So I did it. I wacked the passwd file and I cant get in.
I am runnig LInux 5.0 on DEC 's PC 164LX. Is there a
way to login into this computer , something like single
user mode ? This very very urgent. Would you please
reply on this email : hedon@orbit.nycport.com
Thanks in advance
George Klimes
NYCPORT Networks "The Purveyor of Bandwidth"
www.nycport.com
-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"I am sure that an apple grower would tell Newton he did not
tell all there is to be known about the apple."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Urgent help needed . Passwd file deleted
1998-07-06 20:26 Urgent help needed . Passwd file deleted George
@ 1998-07-06 21:21 ` Christopher Curtis
1998-07-06 22:02 ` Warren
1998-07-06 22:26 ` Quant-X Alpha Linux Support
1 sibling, 1 reply; 4+ messages in thread
From: Christopher Curtis @ 1998-07-06 21:21 UTC (permalink / raw)
To: axp-list; +Cc: linux-admin, hedon
On Mon, 6 Jul 1998, George wrote:
> So I did it. I wacked the passwd file and I cant get in.
Boot from a floppy like you were going to install/upgrade. Switch to
another terminal (alt-f2) and there should be a login prompt. Mount your
root filesystem manually (mount -t ext2 /dev/sda2 /mnt) and edit the file
/mnt/etc/passwd to create an entry that looks like this:
root::0:1:superuser:/:/bin/bash
Then unmount the filesystem (umount /mnt) and cycle the machine. You can
now log in as "root" with no password.
If you have shadow passwords installed, you'll have to create a similar
entry in /mnt/etc/shadow:
root::0::::::
You may need, if using /etc/shadow, to put an 'x' is the password field
entry in /etc/passwd. I'm not sure how Linux deals with shadow files.
rgds,
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Urgent help needed . Passwd file deleted
1998-07-06 20:26 Urgent help needed . Passwd file deleted George
1998-07-06 21:21 ` Christopher Curtis
@ 1998-07-06 22:26 ` Quant-X Alpha Linux Support
1 sibling, 0 replies; 4+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-07-06 22:26 UTC (permalink / raw)
To: hedon; +Cc: axp-list
Hi George !
> So I did it. I wacked the passwd file and I cant get in.
> I am runnig LInux 5.0 on DEC 's PC 164LX. Is there a
> way to login into this computer , something like single
> user mode ? This very very urgent. Would you please
> reply on this email : hedon@orbit.nycport.com
yep; try to add "init=/bin/sh" to your OSLOADOPTIONS (AlphaBIOS).
sh works without /etc/password; "\u" in PS1 expands to "I have no name!"
;-}
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-06 22:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-06 20:26 Urgent help needed . Passwd file deleted George
1998-07-06 21:21 ` Christopher Curtis
1998-07-06 22:02 ` Warren
1998-07-06 22:26 ` Quant-X Alpha Linux Support
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox