OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: diegonix on July 14, 2016, 01:12:06 PM

Title: [SOLVED] Error when creating groups in System: Access: Groups
Post by: diegonix on July 14, 2016, 01:12:06 PM
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'
Title: Re: Error when creating groups in System: Access: Groups
Post by: franco on July 16, 2016, 09:42:35 PM
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