From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12088 invoked from network); 13 Dec 1998 18:41:49 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Dec 1998 18:41:49 -0000 Received: from xcski.com (d185d1c51.rochester.rr.com [24.93.28.81]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA09722 for ; Sun, 13 Dec 1998 13:33:40 -0500 Received: (from ptomblin@localhost) by xcski.com (8.8.7/8.8.7) id NAA07145; Sun, 13 Dec 1998 13:33:53 -0500 Message-ID: <19981213133353.A6922@xcski.com> Date: Sun, 13 Dec 1998 13:33:53 -0500 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: Screwed up profile file References: <1298575197-25994628@storeria.bio.ou.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from Andrew Hobgood on Sun, Dec 13, 1998 at 01:23:27PM -0500 Quoting Andrew Hobgood (chaos@strange.net): > > Hello (writes he sheepishly): > > I screwed up my profile file. I added a path that unfortunately recycles > > any login to the login prompt. I tried to edit the file through ftp and > > telnet, but to no avail. > > Is there a way I can bypass the current profile file and login to my > > machine to edit it back to the way it should have been? > > Try using ssh or rsh to login to yourself. Do the following... > > $ ssh localhost /bin/sh -i > > And that should give you a pristine prompt. Should. No guarantees. That is, *if* you're currently logged on. If you're sitting there staring at a login prompt and can't figure out how to get back in, you're going to have to reboot into single user mode. Assuming you're using MILO, a ctrl-alt-delete reboot will get you to a MILO prompt. Boot with the argument "single" at the end of the boot string. That will get you to a "#" prompt, where you can fix your profile. -- Paul Tomblin, not speaking for anybody. "NEW! Microsoft(R) Knees97(tm) - now walking will be more fun, jumping will be more productive, etc etc. ... I think I'll wait for Gnees instead" - John Dow