Skip to content
Commit 0344f663 authored by Michael Catanzaro's avatar Michael Catanzaro Committed by Michael Catanzaro
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment