OPNsense Forum

English Forums => General Discussion => Topic started by: Vharry on February 01, 2024, 08:37:01 AM

Title: Creating a user from a newly created user.
Post by: Vharry on February 01, 2024, 08:37:01 AM
Hii Community,

I have been trying to create a new user from another user i.e. except the root user. I have given all the privileges to my primary user even then my primary user is not able to create a new user it says, "You do not have permission to perform this action."

Can anyone please tell me if it is not possible in OPNsense to create a user except the root user? if not then please guide me on how can I achieve this.

Thanks for the support over the time. Looking forward for a positive response.

Best,
Harry!
Title: Re: Creating a user from a newly created user.
Post by: franco on February 01, 2024, 08:47:07 AM
Hi Harry,

Assign the "All pages" privilege which means administrator (root, wheel) rights. And DO NOT add "System: Deny config write".


Cheers,
Franco
Title: Re: Creating a user from a newly created user.
Post by: Vharry on February 02, 2024, 05:46:57 AM
Hi Franco,

Thanks a ton for your quick help! You are a genius! Your suggestion worked, and I successfully created a new admin user with the necessary privileges. However, I noticed this new admin can change the root password. Is there a way to restrict such changes to ensure the root user's security?

Although I have gone through this thread https://forum.opnsense.org/index.php?topic=24576.0 (https://forum.opnsense.org/index.php?topic=24576.0) But wondering if there is any new update regarding the same?

Best,
Harry
Title: Re: Creating a user from a newly created user.
Post by: franco on February 02, 2024, 12:01:30 PM
Hi Harry,

No, there is no way to prevent an administrator from messing with other administrators.


Cheers,
Franco