[j-nsp] Juniper as a route-server

Richard A Steenbergen ras@e-gerbil.net
Thu, 5 Dec 2002 15:12:20 -0500


On Thu, Dec 05, 2002 at 11:26:22AM -0700, Mike Benjamin wrote:
> 
> It's Unix, you have the FreeBSD telnetd code available to you.  Hack it
> up to allow login w/ no username/password and default to user guest.

So close.

Tried:  
        user guest {
            uid 2001;
            class guest;
            authentication {
                encrypted-password ""; # SECRET-DATA
            }
        }

And a telnetd wrapper called in inetd.conf:

#!/bin/sh
USER="guest"
/usr/libexec/telnetd

But it still prompts for a password (to which there is no valid answer)
the first time through.

Escape character is '^]'.
Password:
Login incorrect
login: guest
Last login: Wed Dec  4 18:51:48 from x.x.x.x

But this proves that it should be really really trivial to fix. And make 
that 7 private responses about people wanting to do Juniper route-servers. 
:)

-- 
Richard A Steenbergen <ras@e-gerbil.net>       http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)