[SOLVED] Error when creating groups in System: Access: Groups

Started by diegonix, July 14, 2016, 01:12:06 PM

Previous topic - Next topic
Hello,

When creating group with space, we got an error in System Logs:

opnsense: /system_groupmanager.php:
The command '/usr/sbin/pw 'groupadd' 'Domain Admins' -g '2000' -M ''' returned
exit code '65', the output was 'pw: invalid character ` ' at position 6 in userid/group name'

Hi Diego,

This is expected. Unix groups can't have names. Although the group exists fine in the web interface. I know this is the default for many AD users.

We chose to not mute the message to make it more obvious when users try to use groups with spaces on the console.


Cheers,
Franco