[Freeipa-devel] [PATCH] 256 allow uid/gid starting number to be set
Rob Crittenden
rcritten at redhat.com
Thu Aug 27 18:16:29 UTC 2009
Rob Crittenden wrote:
> Martin Nagy wrote:
>> On Wed, 2009-08-26 at 11:20 -0400, Rob Crittenden wrote:
>>> Ok, I think I've addressed all the issues raised. I've included
>>> Martin's cleaner lambda-based evaluator and the default uid/gid is
>>> now a random value between 1,000,000 and (2^31 - 1,000,000).
>>>
>>> rob
>>
>>> + parser.add_option("--uidstart", dest="uidstart",
>>> default=namespace, type=int,
>>> + help="The starting uid value (default %default)")
>>> + parser.add_option("--gidstart", dest="gidstart",
>>> default=namespace, type=int,
>>> + help="The starting gid value (default %default)")
>>
>> Please make the help message something like "(default random)" instead
>> of "(default %default)". This can be misleading because the number is
>> different on each invocation.
>>
>
> Ah, good point. The next time you run it you'll get a different number,
> and here I thought I was being so clever :-(
>
>> The manpage still says that the default is 1000.
>>
>> Conditional Ack if these remaining issues are addressed.
>>
>> Martin
>>
>
> Ok, I'll get these fixed up and push it later today.
>
> rob
Issues resolved, pushed to master.
David, the default value for uidnumber and gidnumber is now a random
value between 1,000,000 and (2^31 - 1,000,000).
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090827/869c273a/attachment.bin>
More information about the Freeipa-devel
mailing list