[gnome-initial-setup/shell/4765: 81/362] account-page: limit full name to 80 chars



commit 8417cc9c4d8027e014c2dfb6a7d0c5d16c5bac29
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Fri Jul 11 16:58:21 2014 -0700

    account-page: limit full name to 80 chars
    
    Debian/Ubuntu ship a patch to accountsservice that makes it use adduser
    instead of the default useradd when adding an user to the system.
    One of the differences between adduser and useradd is that the former
    calls into chfn to set the user full name. That has a limitation of 80
    characters, and user creation will then fail when a longer full name is
    provided.
    
    Instead of reverting the accountsservice patch (which might have
    unforeseen consequences) at this point the safest thing to do is to
    limit the number of characters that can be entered in the FBE to match
    the limit of chfn - i.e. 80 characters.
    
    [endlessm/eos-shell#2903]

 .../pages/account/gis-account-page.ui              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-initial-setup/pages/account/gis-account-page.ui 
b/gnome-initial-setup/pages/account/gis-account-page.ui
index 666d7b3..8a16619 100644
--- a/gnome-initial-setup/pages/account/gis-account-page.ui
+++ b/gnome-initial-setup/pages/account/gis-account-page.ui
@@ -62,7 +62,7 @@
             </child>
             <child>
               <object class="GtkEntry" id="account-fullname-entry">
-                <property name="max_length">255</property>
+                <property name="max_length">80</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="invisible_char">‚óŹ</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]