From: irvdwijk@cs.vu.nl (Wijk van der IR) Subject: Re: Improper shutdown -- cannot login Date: Wed, 28 Jul 1993 09:02:45 GMT
GALBRAITH PAUL DAVID (galbrai@ecf.toronto.edu) wrote:
: For a while, I had Linux up and running without any apparent problems
: (except a warning about an unchecked file system at bootup). After
: tangling with X11, I had to restart the system without shutting down
: properly, and now am unable to login. When I enter 'root', I'm told
: that there is some is some problem accessing utmp or something similar,
: and something about improper sh level. The only thing I could think to
: do was run 'e2fsck /dev/hda1' which does not report any problems (I ran
: this by booting from the install disk and mounting /dev/hda1). Is there
: anything I can do to get the system back in working order?
: (Please be verbose! On a scale of 0 to idiot, I rank closer to 0...)
The only thing I can think of is that you somehow erased your /etc/utmp,
or made it unreadable in someway. Login requires an entry LOGIN in the
utmp. Try copying your utmp from som bootfloppy to your HD. If this doesn't
work, I don't know what's wrong.
: Paul Galbraith
-- ================================================ __ Name: Ivo van der Wijk | Ritzen: Geen SF, ___|[]| DESTROY Internet: irvdwijk@cs.vu.nl | geen OV, geen #$%.\__|______| RITZEN! IRC: VladDrac | studenten, &^8+$* /-(o_o_o_o)