On Jan 6, 2008 6:31 PM, Carlo Calica <[EMAIL PROTECTED]> wrote: > On 1/6/08, Lucas C. Villa Real <[EMAIL PROTECTED]> wrote: > > > I believe this is enough at least for the most common cases. I didn't > > cover cross-compiling in this implementation, but that can come later > > as needed. Comments? > > > > Looks good. Do you have an example where a specific uid/gid is > needed? What if it already exists? Should check against uid/gid 0 > and sys group. How about system (100-999) vs user (>1000) uid/gid's?
I ran some months ago into a case where the uid was expected to be 'x'. I think that was a cron application, I'm not sure. Anyway, having the option there is good. About conflicts, both useradd and groupadd fails when the number is already assigned to another user, so no worries. Do you think it's necessary to have a different treatment for system and user uid/gid's? Or maybe just limit the ids to 100-999? (I can't see why one would want to use Resources/Requirements to add a normal user account, so setting a range makes sense). -- Lucas powered by /dev/dsp _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel