SUMMARY I'm unable to use any of the features afforded by the `--allow-badnames` flag in the username field, such as mere capital letters, when creating an account via `kcm_users`. STEPS TO REPRODUCE 1. Invoke `kcmshell5 kcm_users`. 2. Create a new user. 3. Attempt to type capital letters in the username field. OBSERVED RESULT The characters are silently discarded when typed. EXPECTED RESULT I should be able to use capital letters, because other OSes have no issue with such a thing. Considering that the reason to disallow them by default is to retain compatibility with literal teletypes (per https://www.reddit.com/r/linuxquestions/comments/2ugpqa/comment/co8goaf/?utm_source=share&utm_medium=web2x&context=3). Consider the testament of https://www.reddit.com/r/linux/comments/znkxxv/comment/j0jaiup/?utm_source=share&utm_medium=web2x&context=3: I have – no joke – had a username starting with a capital letter for forever on more than one Linux machine that I used regularly. In 15+ years of doing this, I have never experienced any problems, bugs, or abnormalities that are a direct result of my username starting with a capital letter. Perhaps if you go back in time far enough you might experience some troubles, but in the modern day a username starting with a capital letter is a non-issue. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20231005 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.4-1-default (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor Memory: 30.5 GiB of RAM Graphics Processor: AMD Radeon RX 5700 Manufacturer: ASRock Product Name: X670E Taichi ADDITIONAL INFORMATION https://discuss.kde.org/t/why-doesnt-the-users-kcm-allow-creating-a-user-whose-username-contains-capitals/5867?u=rokejulianlockhart
We delegate user creation to the accountservice library which has no option for us to invoke to change the behavior even if we wanted to; you'll have to take this up with its developers at https://gitlab.freedesktop.org/groups/accountsservice/-/issues. However I suspect I can predict their answer, and that you'll be wasting your time. :)
(In reply to Nate Graham from comment #1) > We delegate user creation to the accountservice library which has no option > for us to invoke to change the behavior even if we wanted to; you'll have to > take this up with its developers at > https://gitlab.freedesktop.org/groups/accountsservice/-/issues. However I > suspect I can predict their answer, and that you'll be wasting your time. :) Thank you. Filed https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/118 in the hopes that I won't be.