On 5/17/12 2:12 PM, Dustin Cartwright wrote: > On Thu, May 17, 2012 at 9:35 PM, Alexander Hansen > <alexanderk.han...@gmail.com <mailto:alexanderk.han...@gmail.com>> wrote: > > Success! > > What passwd-fink-bld does, and which wasn't being done by fink either in > my branch or Dustin's, is to run > > dscl . -delete /Users/fink-bld AuthenticationAuthority > > when generating the fink-bld user. By doing this, I get the proper > results: > > > Good to hear. I'd recommend rebasing your patch to da556100d53. The last > commit to dustinac/add-fink-bld added a call to dsmemberutil, which was > an apparently wrong attempt to resolve the caching issue. Leaving it in > would be very confusing to anyone who later tries to understand the code. > > So, what about networked users? > > Dustin
My thought is to borrow from what you've done, but do like David and Merle suggested and store the following in fink.conf: AutoUid: boolean AutoUidBase: integer, default 600 AutoUidMax: integer, default 699 FinkBldUid: the UID FinkBldGid: the GID AutoUid, FinkBldUid, and FinkBldGid would get set via "fink configure". Networked folks would set AutoUid: false via a prompt, and FinkBldUid and FinkBldGid would either be autogenerated, use an existing value (left over from passwd-fink-bld) or have values set explicitly, depending on what the user wants. (AutoUidBase and AutoUidMax wouldn't be set by prompts, but would be changed via manually editing fink.conf). When fink is invoked for a build, it will check whether the fink-bld user exists. If not, it will be created using these parameters from fink.conf. If the UID and GID from fink.conf are different than those in Directory Services, fink-bld will be updated to match fink.conf. -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel