[PATCH] Forbid "root" as a user or group name. (#968451)

Chris Lumens clumens at redhat.com
Fri Sep 20 14:28:46 UTC 2013


> _USERNAME_BASE = r'[a-zA-Z0-9._](([a-zA-Z0-9._-]{0,2})|([a-zA-Z0-9._-]{3}(?<!root))|([a-zA-Z0-9._-]{4,31})|([a-zA-Z0-9._-]{,30}\$))'

Your regular expressions are terrifying.

- Chris


More information about the anaconda-patches mailing list