Junos OS

last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Can't login via console (root)

    Posted 04-29-2014 00:36

    Hi all,

     

    I'm trying to login to an EX 2200 via console and i have the correct credentials. 

     

    It appears to accept the login and kick me straight out. 

     

    As you can see below - the password is accepted (it doesnt say Login incorrect)

     

    Telecity-ex2200-T (ttyu0)

    login: root
    Password:

     

    Telecity-ex2200-T (ttyu0)

    login:

     

    Any ideas what causes this? 

     

    I think it maybe related to retry options, however I didnt think this affected console login attempts. 

     

    Thanks

     

    Chris



  • 2.  RE: Can't login via console (root)

    Posted 04-29-2014 03:58

    Hi there,

    Do you have this line in the config:

     

    set system ports console insecure 

     If yes then direct root login is not allowed, you have to login as any non-root user and then do:

     

    start shell user root
    <give password>
    cli

     HTH

    Thanks
    Alex

     



  • 3.  RE: Can't login via console (root)

    Posted 04-29-2014 04:23

    Hi Alex,

     

    Thanks for the reply.

     

    Forgot to mention the exact same thing happens on a non-root user too.

     

    It accepts the login then kicks you out.

     

    I suppose it's a symptom of the command:

     

    set system ports console disable, right?

     

    Thanks

     

    Chris

     

     



  • 4.  RE: Can't login via console (root)

    Posted 04-29-2014 11:08

    That sounds like what would happen if there was another console login elsewhere. Try ssh or telnet via another user then show system users to see if multiple users are loged in and if the console port is also logged into.



  • 5.  RE: Can't login via console (root)

    Posted 06-17-2014 08:02

    Hey guys,

     

    I've kinda resolved this now. Just in case anyone else has the problem.

     

    I booted into single user mode during some scheduled downtime, I was able to grab some logs and change config etc.

     

    Upon a normal reboot, the issue reoccured.

     

    Looks like there's some corruption somewhere. 

     

    JTAC recommend a fresh install.

     

    Regards

     

    Chris