foundry flogin problem
john heasley
heas at shrubbery.net
Tue Jul 16 17:53:53 UTC 2002
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