OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] Error when creating groups in System: Access: Groups
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Error when creating groups in System: Access: Groups  (Read 1358 times)

diegonix

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
[SOLVED] Error when creating groups in System: Access: Groups
« on: July 14, 2016, 01:12:06 pm »
Hello,

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

Code: [Select]
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'
« Last Edit: July 16, 2016, 09:42:50 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 10319
  • Karma: 804
    • View Profile
Re: Error when creating groups in System: Access: Groups
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • [SOLVED] Error when creating groups in System: Access: Groups
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2