[PATCH] Remove the UID and GID maximums.

David Shea dshea at redhat.com
Tue Jan 7 21:42:58 UTC 2014


UIDs and GIDs can be greater than 32535, which seems like kind of a weird limit
anyway, and libuser doesn't configure or enforce any kind of maximum, so
just remove the upper limits. If a user or group is created with a
UID or GID that doesn't fit in uid_t or gid_t, libuser will fail and
anaconda will log a message.
---
 pyanaconda/ui/gui/spokes/advanced_user.glade | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/advanced_user.glade b/pyanaconda/ui/gui/spokes/advanced_user.glade
index 87445d4..8dc1d31 100644
--- a/pyanaconda/ui/gui/spokes/advanced_user.glade
+++ b/pyanaconda/ui/gui/spokes/advanced_user.glade
@@ -1,17 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.16.0 on Thu Oct 17 10:49:40 2013 -->
+<!-- Generated with glade 3.16.0 on Tue Jan  7 16:14:53 2014 -->
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
   <object class="GtkAdjustment" id="gid">
     <property name="lower">1000</property>
-    <property name="upper">32535</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">32535</property>
     <property name="value">1000</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
-- 
1.8.5.2



More information about the anaconda-patches mailing list