KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/share/system-config-users/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/system-config-users/userGroupFind.pyc
mò
œlFOc@s¡dkZdkZdklZlZdkiZdZeieƒdgZdgZ	de
fd„ƒYZde
fd„ƒYZddd„Zdd	„ZdS(
N(t_sN_ssystem-config-userst	nfsnobodytDuplicateUidNumberErrorcBstZd„ZRS(NcCs
||_dS(N(t	uidNumbertself(RR((t//usr/share/system-config-users/userGroupFind.pyt__init__#s(t__name__t
__module__R(((RR"stDuplicateGidNumberErrorcBstZd„ZRS(NcCs
||_dS(N(t	gidNumberR(RR
((RR's(RRR(((RR	&scCsytd„td„|iƒƒƒ}|djoéd}|do0x-|D]!}||jo|d}qIqIWnx||jo|d7}quWxÛ|djp
||jog||joLy(t
|||do|pdƒ}Wqtj
o|d7}qXq”|d7}q”WnV||jot|ƒ‚nt
|||djo|p|do|pdƒ}||fS(sj
    Try to find a free uid/gid number pair based on preferences, eventually with a given uid number.
    cCs|tidS(Ni(txtlibusert	UIDNUMBER(R((Rt<lambda>.scCs|tidtjS(Ni(RRtUSERNAMEthigh_uid_ignore(R((RR.siôtASSIGN_HIGHEST_UIDitPREFER_SAME_UID_GIDN(
tmaptfiltertlu_admintenumerateUsersFullt
uidNumbersRtNonetpreferencestuidNumR
tfind_gidR	R(RRRR
RR((Rtfind_uid_gid*s0$



(
8cCs¶td„td„|iƒƒƒ}|djodd}|do0x-|D]!}||jo|d}qIqIWnx=||jo|d7}quWn||jot	|ƒ‚n|S(sa
    Try to find a free gid number based on preferences, eventually with a given gid number.
    cCs|tidS(Ni(RRt	GIDNUMBER(R((RRKscCs|tidtjS(Ni(RRt	GROUPNAMEthigh_gid_ignore(R((RRKsiôtASSIGN_HIGHEST_GIDiN(
RRRtenumerateGroupsFullt
gidNumbersR
RRtgidNumR	(RRR
R#R"((RRGs$



(tstringRtrhpl.translateRtN_t	translatetdomaint
textdomainRRt	ExceptionRR	RRR(R(RRR$RRRRR&R'RR	((Rt?s		
		

Anon7 - 2021