Can I create administrator user without LDAP/AD?

NethServer Version: NethServer release 7.3.1611 (Final)
Module: Server Manager

Default access to Server Manager is using user root.

Is there a way to create a custom user that has limited permissions to access Server Manager?

Thanks in advance

Additional users can be created only with an accounts provider.

However you could try this hack:

groupadd managers
useradd dude
usermod -a -G managers dude

Check the commands manpages for the correct arguments (I go by memory).

4 Likes

Thank you very much!

Ciao!
I have a similar question and I must say @davidep that the ā€œhackā€ he suggested works also with local LDAP, I created the managers group and who is in that group can login to Nethserver and manage ā€œUsers and Groupsā€, THANKS @davidep

My need is a bit different I need to add a group that is able to manage only the OpenVpn users, is this possible?
Also is there a guide on how to give specific access to Nethserver managing these groups ? Or a list of groups that we can create and what they are for?
Thank you in advance for your help. And great job to all of you, so proud to use your distro here in Canada!! Ha!

Ciao Italia!!

1 Like

@davidep, Any ideas ?

1 Like

Hi @joe, sorry for this late reply!

It should be possible, by creating a custom json policy file. I remember we discussed a similar request in the past, but cannot find the right link nowā€¦

1 Like

You can check if itā€™s any of these links:

2 Likes