Deleting or locking the "root" user ?

Started by Wayne Train, June 20, 2017, 09:27:03 AM

Previous topic - Next topic
Hi,
I would like to know if anybody in this forum deleted the root user and if this has any impact on the firewall funcionality.
If so, is there a possibility to simply lock root for the webgui. I don't want to use the standard user for administration...
Regards,
Wayne

Not having a 'root' user as admin in the UI makes no difference to the functionality of OPNsense, AFAIK. You obviously need one (or preferably more) account that can administer your firewall but it can be any other username with an obviously strong password.
Regards


Bill

You shouldn't really delete the 'root' user on a Unix OS as that's not generally a good idea.

If you are concerned about access, you can create complex passwords and limit access via that way.

I thought he was asking if the root user in the admin UI could be deleted, that's how I answered it but, you're correct, not a good idea to remove the root user from the system.
Regards


Bill

You can disable root (System->Access->Users select root and check Disabled).
If you're using shell access, you should (if not done already) enable sudo usage (System->Settings->Administration), otherwise (at least the last time I checked), you can not elevate your privileges in the shell.