The nxUser resource fails if any users in /etc/passwd have uppercase letters in their username. According to the manpage for adduser,
Historically, adduser and addgroup enforced conformity to IEEE Std 1003.1-2001, which allows only the following characters to appear in group and user names: letters, digits, underscores, periods, at signs (@) and dashes. The name may not start with a dash or @. The "$" sign is allowed at the end of usernames (to conform to samba).https://manpages.ubuntu.com/manpages/lunar/en/man5/adduser.conf.5.html
I was able to create usernames with capital letters and with periods, at signs, etc. as described in the statement above on Ubuntu 18. So, I'm updating the regex.
This Pull Request (PR) fixes the following issues
Fixes #33
Task list
[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Resource documentation added/updated in README.md.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
Pull Request (PR) description
The nxUser resource fails if any users in /etc/passwd have uppercase letters in their username. According to the manpage for adduser,
Historically, adduser and addgroup enforced conformity to IEEE Std 1003.1-2001, which allows only the following characters to appear in group and user names: letters, digits, underscores, periods, at signs (@) and dashes. The name may not start with a dash or @. The "$" sign is allowed at the end of usernames (to conform to samba). https://manpages.ubuntu.com/manpages/lunar/en/man5/adduser.conf.5.html
I was able to create usernames with capital letters and with periods, at signs, etc. as described in the statement above on Ubuntu 18. So, I'm updating the regex.
This Pull Request (PR) fixes the following issues
Task list