user-accounts: Do not suggest usernames that are too long
We assume that we only generate valid usernames, so make sure they're short enough to be used, else we'll display a dialog with a meaningless error message when useradd fails. Note that this commit doesn't completely fix the bug, as our definition of MAXNAMELEN is different from useradd's. https://bugzilla.gnome.org/show_bug.cgi?id=766401
parent
ed03e9c4
Please register or sign in to comment