OPNsense Forum

English Forums => General Discussion => Topic started by: Pressure on February 11, 2021, 09:18:41 PM

Title: Anyone else having issues when logging in with an added user?
Post by: Pressure on February 11, 2021, 09:18:41 PM
Been bashing my head against a wall trying to add user to my new opnsene machine this evening.
Adding a user isn't an issue but unfortunately i can never log in though the web interface using this newly created user.

Do i have to do anything special to make log in through the web interface possible?
I can't see anything in the documents https://docs.opnsense.org/manual/how-tos/user-local.html
Perhaps i need to add the user to some sort of group giving it privileges?
Title: Re: Anyone else having issues when logging in with an added user?
Post by: Greelan on February 12, 2021, 04:44:36 PM
Yes, you will need to add the user to a group with the required privileges, or set the privileges manually under Effective Privileges in the user config
Title: Re: Anyone else having issues when logging in with an added user?
Post by: Pressure on February 12, 2021, 05:03:41 PM
That's good to know.
I guess i expected that to happen automatically as the web interface is the primary place to log in and what's the use of adding a user if you cant use it.
Title: Re: Anyone else having issues when logging in with an added user?
Post by: Pressure on February 12, 2021, 05:19:51 PM
Can confirm that the privileges was the issue.

Quick guide for anyone in need
System>Access>Groups

Add a user group like user. Append webgui permissions of your choice (i did dashboard permissions only) save go back to System>Users and make your new user a member of the group user.
You can now log in using the webgui with your newly created user.