On Tue, May 22, 2012 at 6:46 AM, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
>
> Sorry, was in a bad mood.

I was just trying to convince you to do less work, but I can see that
I failed. :)

> Here's the thought process I was working under:
>
> "fink configure" is a natural place to do anything that has prompts for
> the user.  However, it isn't supposed to have side effects, i.e. all
> that it currently does is set up the fink.conf file.  So I figured we'd
> prompt for user input and do the sanity checking in "fink configure",
> saving the results (FinkBldUid for immediate use, and AutoUid,
> AutoUidMin, AutoUidMax for the next 'fink configure'), and then actually
> write the fink-bld information (if required) elsewhere.

To leave open the possibility of automatic UIDs replacing the current
passwd in the future, would it be better to replace FinkBldUid with
something more extensible? I don't know if the fink.conf parser can
handle something like:

FixedUids: <<
  fink-bld: 266
  postfres: 252
<<

Or maybe better would be just to take the UID and GID from
%p/etc/passwd-fink and %p/etc/passwd-group if AutoUid is false? After
all, this is where people were supposed to customized the added users
in the past.

Dustin

>
> --
> 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

Reply via email to