Description of problem: If user enters "John" instead of "john" as username, anaconda will not accept it Version-Release number of selected component (if applicable): Fedora-19-Beta-RC2 anaconda-19.28 How reproducible: Steps to Reproduce: 1. Start installation in text mode 2. Proceed to user creation 3. Set username to "John" Actual results: anaconda doesn't allow capital letters in username Expected results: Anaconda should allow same usernames as useradd. Additional info: pyanaconda/ui/tui/spokes/user.py:41: Entry("Username", "name", re.compile("^[a-z0-9_]+$"), lambda self,args: args._create),
Created attachment 750963 [details] anaconda.log
Created attachment 750964 [details] ifcfg.log
Created attachment 750965 [details] packaging.log
Created attachment 750966 [details] program.log
Created attachment 750967 [details] storage.log
Created attachment 750968 [details] storage.state
Created attachment 750969 [details] syslog
useradd accepts capital letters and creates user John.
patch pushed
*patch posted to anaconda for review
posted for review = POST not MODIFIED.
https://lists.fedorahosted.org/pipermail/anaconda-patches/2013-June/004432.html is the patch that was posted, which wasn't pushed. The patch is fine, but I reset the status to NEW because I've been working on the same thing in the GUI and I plan to tweak the check a little bit. For example, the username should also allow dots and non-initial hyphens.