[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Solution for mail pseudo-users?
From:       Alex Zepeda <garbanzo () hooked ! net>
Date:       1999-08-03 21:22:17
[Download RAW message or body]

On Tue, 3 Aug 1999, Markus Stumpf wrote:

> > I just don't see any justification in hacking away at all of your software
> > to bypass the passwd database.  What is gained?
> 
> If you have 100000+ users you'll run out of UIDs (see recent thread).

I find it hard to believe that handling 100,000 users on one box is a good
idea in the first place.

> Also you'll have to run the script to allow users to change passwords as
> "root", which you probably will NOT want to do (same for adding/
> deleting/changing users) 

So with your setup, any user can add/delete/modify existing users?  Yeah,
that's secure. 

> Also with 30000+ (maybe even with 10000+) users each rebuild of the
> passwd database will become SLOW and you have to take care about locking
> and such ... been there, tried it, didn't like it. 

Yes, but with 100k+ users, a database (that requires slow rebuilding) is
faster to find random records in than a flat text file.  In fact, perhaps
you should have instituted some sort of cron'd rebuild (once every 30
minutes for instance), and then queued the changes, so as to prevent users
from frobbing in an incorrect manner. 

- alex

You better believe that marijuana can cause castration.  Just suppose your
girlfriend gets the munchies!



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic