foundry flogin problem

Mark Schaefer mark at verio.net
Tue Jul 16 19:02:01 UTC 2002


Whoops, spoke too soon.  It now works on the newer code, but no longer on
the old.

Mark

On Tue, 16 Jul 2002, Mark Schaefer wrote:

>
> Works beautifully.  Replacing my sick hack immediately :-)
>
> Mark
>
> On Tue, 16 Jul 2002, john heasley wrote:
>
> > could you try ftp://ftp.shrubbery.net/outgoing/flogin.in ?  it should
> > fix the userprompt problem and will be packaged with 2.2.2 (RSN).
> >
> > Tue, Jul 16, 2002 at 05:40:31PM +0200, Mark Schaefer:
> > >
> > > Seems the default Foundry username login prompt on telnet is not consistent... and through this I have noticed that the flogin script does not acknowledge the "userprompt" directive from the .cloginrc file.
> > >
> > > I modified the regexp that looks for the login prompt in flogin to work in both (that I have found) cases:
> > >
> > > (line 385 of flogin which was packaged with 2.2.1)
> > >
> > > Was:
> > >         -re "(Username:|login:|Name  :)"       {
> > >
> > > Now:
> > >         -re "(Username|login|Name).*:"       {
> > >
> > > This works on both cases I have tested (offending prompts below):
> > >
> > > Foundry FastIron with code 07.1.23T13, 07.1.09T13
> > > "Please Enter Login Name  : "
> > >
> > > Foundry BigIron with code 07.2.11bT53
> > > "Please Enter Login Name: "
> > >
> > >
> > > Yeah, there is probably a more elegant regexp to use.
> > >
> > > Mark
> > >
> >
>
>




More information about the Rancid-discuss mailing list