Subject: Re: Problems with ppp for gateway
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-mac68k
Date: 07/26/1998 15:49:58
Would it be a good idea to have the default to use s: : :g
on the assumption that yo'r eunlikely to get : in passwords or
login names? :)
David/absolute
-=- "I know its not the right thing, and I know its not the good thing" -=-
On Tue, 14 Jul 1998, Bill Studenmund wrote:
> >
> > THe problem goes further then that. I have an account with Primenet and
> > when you login via ppp you have to have pri/Ppatriot in the login field.
> > I wonder if that is causing a problem. I have my login script saying
> > s/\$LOGIN/pri/Plogin/g
> > s/\$PASSWD/password/g
> > with "login" being my real login and the password being my real password
> > (didn't want to send them out to everybody ;P
> >
> > Anyone with any ideas?
>
> I thought I mentioned this in the notes, but I don't seem to.
>
> Change the s/ / /g stuff to
> s| | |g .
>
> The fact that there's a "/" in the login field means that you can't use it
> as a seperator in the replacement command. Use any character not in either
> word, and you're fine.
>
> Take care,
>
> Bill
>