Hi,
I have created several users via the WebUI which always contain an underscore in their username. This works:
I now tried to automate the user creation by a script, but had to realize that the CLI does not accept usernames with an underscore.
It looks to me that CLI and WebUI do not use the same regex pattern?
Is there any other way to create users with an underscore in their name via the CLI?
Thanks
Philipp
I have created several users via the WebUI which always contain an underscore in their username. This works:
I now tried to automate the user creation by a script, but had to realize that the CLI does not accept usernames with an underscore.
Code:
root@jane:~# proxmox-backup-manager user create test_2 --password test2
Error: parameter verification errors
parameter 'userid': value does not match the regex pattern
It looks to me that CLI and WebUI do not use the same regex pattern?
Is there any other way to create users with an underscore in their name via the CLI?
Thanks
Philipp