How to disable root logins in JUNOS

If you want to prevent root user being used in ssh logins, one command is sufficient to accomplish this. After commit, root user will be rejected and you can login with any other super-user.

#set system services ssh root-login deny

About: rtoodtoo

Worked for more than 10 years as a Network/Support Engineer and also interested in Python, Linux, Security and SD-WAN, currently living in the Netherlands and works as a Network Support Engineer. // JNCIE-SEC #223 / RHCE / PCNSE


One thought on “How to disable root logins in JUNOS”

You have a feedback?

This site uses Akismet to reduce spam. Learn how your comment data is processed.