On Fri, 30 Jul 1999, Matthew D. Fuller wrote:

> On Fri, Jul 30, 1999 at 09:13:52AM -0700, a little birdie told me
> that Mike Smith remarked
> > 
> > I think that the administrator should be forced to override the warning 
> > manually to indicate that they are aware of the issues they are getting 
> > themselves in for, or at the very least that there should be some very 
> > serious warnings placed in the relevant manpages (mount_nfs, passwd(5), 
> > vipw, etc) covering these issues.a
> 
> How about a bit of a compromise on it?
> Make pwd_mkdb just spew a warning like
> ---
> WARNING: UID(s) over XXXXX detected, may cause problems.
> ---
> by default, with a flag (-v?) to list the specific ones causing problems.
> 
> Warning in manpages are, of course, always a Good Thing.

        I'd be in favor of adding a /etc/pwd_mkdb.conf or some similar
file.  Then the behavior could be easily configured for your environment
with something like "32bit_uid_ok=yes" dirrective in the file.  Even an
environment variable could work.

        I have thought about making such a file to avoid recompiling
pwd_mkdb with different defaults for large passwd files.  The defaults get
tiring when using vipw.  A save can take 30 seconds on some of our
sytstems.

        Adrian
--
[ adr...@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ]



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to