Article View: dc.org.linux-users
Article #3779Re: Help Needed..no login shell
From: Michael Faurot
Date: Thu, 03 Aug 1995 00:00
Date: Thu, 03 Aug 1995 00:00
25 lines
1726 bytes
1726 bytes
Steven Allen (sallen@csc.com) wrote: : Boy did I really hose up this time. Just finished installing : A D N and X via floppy. Then I logged in and changed roots shell : from BASH to CSH...only I miss typed something in the /etc/passwd file. : Since there are no other users on the system, it seems that I can't get : back in the system since that shell doesn't exist. There are no other : users and I cant log on as root. : So, the question is....How do I get back into the system? : is there some sort of single user mode that I dont know about? I don't know if the single user mode is dependent upon having a proper shell defined for root in /etc/passwd. But you can boot single-user from LILO by typing the name of your kernel followed by the word single. Assuming your normal kernel is named "linux", you'd type "linux single" at the LILO prompt. If this doesn't work, you'll need to get out those boot floppies, mount root and then fix the passwd file that way. -- +--------------------+----------------------------+--------------------------+ | Michael Faurot | mfaurot@phzzzt.atww.org | I don't like | | ------- ------ | | lima beans!! | +--------------------+----------------------------+--------------------------+
Technical Details
Message-ID:
<1995Aug3.234038.19732@phzzzt.atww.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3vr98r$2r1@explorer.csc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11663c,12d5991457463f0b X-Google-Attributes: gid11663c,public From: mfaurot@phzzzt.atww.org (Michael Faurot) Subject: Re: Help Needed..no login shell Date: 1995/08/03 Message-ID: <1995Aug3.234038.19732@phzzzt.atww.org> X-Deja-AN: 107490157 references: <3vr98r$2r1@explorer.csc.com> organization: ATWW newsgroups: dc.org.linux-users