Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am building a system that automatically configures Juniper and Cisco switches from the console based on user input from a web UI. I will have a full-time console connection to these devices; however, on occasion the server must be rebooted... thus forcing the system to respawn the console connections.

I want to set up the console access to my Juniper EX4500 without a password; however, my attempts so far at doing this haven't been successful.

I tried...

set system authentication-order [] ports console insecure
set system authentication-order [] ports console type vt100

I still get prompted for a password when I make the console connection. If this was a Cisco, it would be fairly easy; however, I can't seem to find the right JunOS magic.

I realize I could just add some code to authenticate via console, but I'd really like to bypass this if possible. Security is not a concern in this situation.

How can I remove password authentication from the console of my Juniper EX4500?

share|improve this question
up vote 0 down vote accepted

When you set the console to insecure it will prevent root access as well as superuser access or those with ID of 0.

I don't know of any system option that would override this, and you'd need that level of access to make configuration changes.

I think you're only option is to pass the credentials.

(you can always call JTAC and they might be able to find something, I'm just basing my answer on what I see available within the CLI commands that I understand)

share|improve this answer
I don't need the insecure keyword, and even when I delete that option I still get prompted for a password. – Mike Pennington Apr 19 '12 at 18:38
I'm pretty sure the BSD layer of the operating system is going to REQUIRE you to login. Even out of the box, you login as "root" with no password. – SpacemanSpiff Apr 19 '12 at 18:43
@Mike, here's what I'm referring to:… – TheCleaner Apr 19 '12 at 18:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.