Rusty Padlock, Diego Torres Silvestre, CC BY 2.0, via flickr

Disable Logging Into OPNsense as the Root User

About

After enabling sudo for a non-root user, it is safe to disable the root user. Once this is done, you can create several admin users with sudo access and give them each their own password instead of having to rotate a shared root password among multiple admins.

Prerequisites

Enable sudo for non-root user with admin privileges first so you can still perform root operations after root is disabled.

Instructions

Follow the steps under ‘Disable Root User’ from Disable Logging into OPNsense as the Root User (homenetworkguy.com).

References

Disable Logging into OPNsense as the Root User (homenetworkguy.com)