From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: Screwed up profile file
Date: Sun, 13 Dec 1998 13:33:53 -0500 [thread overview]
Message-ID: <19981213133353.A6922@xcski.com> (raw)
In-Reply-To: <Pine.LNX.3.96.981213132215.14043E-100000@schizo.strange.net>; 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
next prev parent reply other threads:[~1998-12-13 18:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-13 17:06 Screwed up profile file José Pedro Sousa do Amaral
1998-12-13 18:23 ` Andrew Hobgood
1998-12-13 18:33 ` Paul Tomblin [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-12-14 0:19 Bernard Chew, Lai Wan
1998-12-14 0:24 ` Paul B. Brown
1998-12-14 0:32 José Pedro Sousa do Amaral
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