Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 1999 17:27:12 -0400 (EDT)
From:      Joseph Scott <joseph@randomnetworks.com>
To:        "Stephen C. Comoletti" <stevec@delanet.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: recompile password datebase with large user base?
Message-ID:  <Pine.BSF.4.05.9907161724360.40409-100000@unix1.digital-web.net>
In-Reply-To: <378F7CA7.F327C75B@delanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

	Check out the man page for pwd_mkdb(8) and take a look at the 
[-u username] option.  This will allow you to only update that user
instead of the whole thing.  That should take care of that issue.

Joseph

On Fri, 16 Jul 1999, Stephen C. Comoletti wrote:

> I'm curious if anyone has run into this situation.. I'm migrating from a
> Solaris 2.6 system to Freebsd 3.2 for our nfs server. We have 8,700+
> accounts which will be moved. The user dirs will be on an external raid5
> array, using the bsd box to serve nfs to our web, mail, and shell
> servers. Situation currently works stable (however very slow) using our
> Sun Netra as a non raid based nfs server.
> 
> So the problem I have is after writing a quick perl script to convert
> the solaris passwd/shadow file to bsd format and running pwd_mkdb,
> initially I ran out of disk space on the root partition. Easy to fix.
> However the time to recompile the db is over a minute with this large a
> user base. This presents a problem where if I have more than one of my
> phone reps adding a user or one of my dealers adding a user at the same
> time...I could have it run pwd_mkdb every 10/15 mins if the passwd file
> has been altered..but thats a bit sloppy. Anyone else have any thoughts
> on this?
> 
> Also, if you could cc: me on any replies as I'm not currently on the
> list.
> 
> Thanks and regards,
> 
> --
> Stephen Comoletti
> Systems Administrator
> Delanet, Inc.  http://www.delanet.com
> ph: (302) 326-5800 fax: (302) 326-5802
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


Joseph Scott
joseph@randomnetworks.com




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9907161724360.40409-100000>