From owner-freebsd-hackers Tue Aug 3 14:23: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mom.hooked.net (mom.hooked.net [206.80.6.10]) by hub.freebsd.org (Postfix) with ESMTP id 1B32814C1D for ; Tue, 3 Aug 1999 14:22:51 -0700 (PDT) (envelope-from garbanzo@hooked.net) Received: from fish.hooked.net (garbanzo@fish.hooked.net [206.80.6.48]) by mom.hooked.net (8.8.6/8.8.5) with SMTP id OAA21898; Tue, 3 Aug 1999 14:22:26 -0700 (PDT) Date: Tue, 3 Aug 1999 14:22:17 -0700 (PDT) From: Alex Zepeda To: Markus Stumpf Cc: Mike Hoskins , hackers@FreeBSD.ORG Subject: Re: Solution for mail pseudo-users? In-Reply-To: <19990803210953.E17970@space.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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