[PATCH] Set an upper limit on uids and gids.

David Shea dshea at redhat.com
Tue Jan 28 16:21:39 UTC 2014


It turns out that you can't have a GtkAdjustment without an upper limit,
or at least you can't in every minor release of Gtk. Set the upper limit
on uid and gid input to UINT_MAX.

Resolves: rhbz#1053103
---
 pyanaconda/ui/gui/spokes/advanced_user.glade | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyanaconda/ui/gui/spokes/advanced_user.glade b/pyanaconda/ui/gui/spokes/advanced_user.glade
index 619cf90..8e2d482 100644
--- a/pyanaconda/ui/gui/spokes/advanced_user.glade
+++ b/pyanaconda/ui/gui/spokes/advanced_user.glade
@@ -423,12 +423,14 @@ Groups that do not already exist will be created; specify their GID in parenthes
   </object>
   <object class="GtkAdjustment" id="gid">
     <property name="lower">1000</property>
+    <property name="upper">4294967295</property>
     <property name="value">1000</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
   </object>
   <object class="GtkAdjustment" id="uid">
     <property name="lower">1000</property>
+    <property name="upper">4294967295</property>
     <property name="value">1000</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
-- 
1.8.5.3



More information about the anaconda-patches mailing list