[GH-ISSUE #61] Group name contains invalid characters #18

Closed
opened 2026-05-07 00:17:29 +02:00 by BreizhHardware · 0 comments

Originally created by @dwydler on GitHub (Nov 22, 2020).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/61

Hello,
i try to add a new user account with a dot in the name. I run it an error, that the group cound not create.

administrator@bastionhost01(master)> accountCreate --account test.test2 --uid-auto
---bs-server----------------------------------------------the-bastion-3.01.00---
=> create a new bastion account
--------------------------------------------------------------------------------
~ Please paste the SSH key you want to add. This bastion supports the following algorithms:
~ ED25519: strongness[#####] speed[#####], use `ssh-keygen -t ed25519' to generate one
~ ECDSA  : strongness[####.] speed[#####], use `ssh-keygen -t ecdsa -b 521' to generate one
~ RSA    : strongness[###..] speed[#....], use `ssh-keygen -t rsa -b 4096' to generate one
~
~ In any case, don't save it without a passphrase (your paste won't be echoed).
~ Creating group test.test2 with GID 99994...
~ Creating user test.test2 with UID 99994...
~ Creating tty group of account...

~ Group name contains invalid characters

Please add a filter for special characters for account names or allow it in der group names.

Originally created by @dwydler on GitHub (Nov 22, 2020). Original GitHub issue: https://github.com/ovh/the-bastion/issues/61 Hello, i try to add a new user account with a dot in the name. I run it an error, that the group cound not create. ``` administrator@bastionhost01(master)> accountCreate --account test.test2 --uid-auto ---bs-server----------------------------------------------the-bastion-3.01.00--- => create a new bastion account -------------------------------------------------------------------------------- ~ Please paste the SSH key you want to add. This bastion supports the following algorithms: ~ ED25519: strongness[#####] speed[#####], use `ssh-keygen -t ed25519' to generate one ~ ECDSA : strongness[####.] speed[#####], use `ssh-keygen -t ecdsa -b 521' to generate one ~ RSA : strongness[###..] speed[#....], use `ssh-keygen -t rsa -b 4096' to generate one ~ ~ In any case, don't save it without a passphrase (your paste won't be echoed). ~ Creating group test.test2 with GID 99994... ~ Creating user test.test2 with UID 99994... ~ Creating tty group of account... ~ Group name contains invalid characters ``` Please add a filter for special characters for account names or allow it in der group names.
BreizhHardware 2026-05-07 00:17:29 +02:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#18
No description provided.