* Screwed up profile file
@ 1998-12-13 17:06 José Pedro Sousa do Amaral
1998-12-13 18:23 ` Andrew Hobgood
0 siblings, 1 reply; 6+ messages in thread
From: José Pedro Sousa do Amaral @ 1998-12-13 17:06 UTC (permalink / raw)
To: axp-list
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?
TIA
ZP
José Pedro Sousa do Amaral
In my craft or sullen art
Exercised in the still night
When only the moon rages
And the lovers lie abed
With all their griefs in their arms
I labour by singing light
Not for ambition or bread
Or the strut and trade of charms
On the ivory stages
But for the common wages
Of their most secret heart.
--D. Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Screwed up profile file
1998-12-13 17:06 José Pedro Sousa do Amaral
@ 1998-12-13 18:23 ` Andrew Hobgood
1998-12-13 18:33 ` Paul Tomblin
0 siblings, 1 reply; 6+ messages in thread
From: Andrew Hobgood @ 1998-12-13 18:23 UTC (permalink / raw)
To: axp-list
> 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.
/Andrew
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Screwed up profile file
1998-12-13 18:23 ` Andrew Hobgood
@ 1998-12-13 18:33 ` Paul Tomblin
0 siblings, 0 replies; 6+ messages in thread
From: Paul Tomblin @ 1998-12-13 18:33 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Screwed up profile file
@ 1998-12-14 0:19 Bernard Chew, Lai Wan
1998-12-14 0:24 ` Paul B. Brown
0 siblings, 1 reply; 6+ messages in thread
From: Bernard Chew, Lai Wan @ 1998-12-14 0:19 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Maybe you could boot up using a floppy (to get root priviledges) and
mount your disk on a separate directory tree. This should allow you to
have full root access to all files on the hard disk.
Rgds.
Bernard Chew
>-----Original Message-----
>From: José Pedro Sousa do Amaral [SMTP:amaral@storeria.bio.ou.edu]
>Sent: Monday, December 14, 1998 1:07 AM
>To: axp-list@redhat.com
>Cc: The recipient's address is unknown.
>Subject: Screwed up profile file
>
>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?
>TIA
>ZP
>
>José Pedro Sousa do Amaral
>
>In my craft or sullen art
>Exercised in the still night
>When only the moon rages
>And the lovers lie abed
>With all their griefs in their arms
>I labour by singing light
>Not for ambition or bread
>Or the strut and trade of charms
>On the ivory stages
>But for the common wages
>Of their most secret heart.
> --D. Thomas
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Screwed up profile file
1998-12-14 0:19 Bernard Chew, Lai Wan
@ 1998-12-14 0:24 ` Paul B. Brown
0 siblings, 0 replies; 6+ messages in thread
From: Paul B. Brown @ 1998-12-14 0:24 UTC (permalink / raw)
To: 'axp-list@redhat.com'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=US-ASCII, Size: 2116 bytes --]
Boot to single user mode. Then mount the /home, /usr, and /tmp
filesystems somewhere and then edit your stuff.
---------------------------------------------------------------------------
Paul B. Brown pbrown@btechnet.com
President
Brown Technologies Network, Inc. http://www.btechnet.com/
Unix Systems Administration "Sailing is a state of mind . . . ."
---------------------------------------------------------------------------
On Mon, 14 Dec 1998, Bernard Chew, Lai Wan wrote:
> Maybe you could boot up using a floppy (to get root priviledges) and
> mount your disk on a separate directory tree. This should allow you to
> have full root access to all files on the hard disk.
>
> Rgds.
>
> Bernard Chew
>
> >-----Original Message-----
> >From: José Pedro Sousa do Amaral [SMTP:amaral@storeria.bio.ou.edu]
> >Sent: Monday, December 14, 1998 1:07 AM
> >To: axp-list@redhat.com
> >Cc: The recipient's address is unknown.
> >Subject: Screwed up profile file
> >
> >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?
> >TIA
> >ZP
> >
> >José Pedro Sousa do Amaral
> >
> >In my craft or sullen art
> >Exercised in the still night
> >When only the moon rages
> >And the lovers lie abed
> >With all their griefs in their arms
> >I labour by singing light
> >Not for ambition or bread
> >Or the strut and trade of charms
> >On the ivory stages
> >But for the common wages
> >Of their most secret heart.
> > --D. Thomas
> >
> >--
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Screwed up profile file
@ 1998-12-14 0:32 José Pedro Sousa do Amaral
0 siblings, 0 replies; 6+ messages in thread
From: José Pedro Sousa do Amaral @ 1998-12-14 0:32 UTC (permalink / raw)
To: axp-list
Thank you to everybody who helped me with my profile file goof up. I did
fix it earlier today by booting into single user mode and erasing the
offending lines with vi. Worked well.
Thank you again.
ZP
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-12-14 0:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-14 0:32 Screwed up profile file José Pedro Sousa do Amaral
-- 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-13 17:06 José Pedro Sousa do Amaral
1998-12-13 18:23 ` Andrew Hobgood
1998-12-13 18:33 ` Paul Tomblin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox