Date: Mon, 1 Jul 1996 12:38:54 -0700 (PDT) From: Guido van Rooij <guido> To: CVS-committers, cvs-all, cvs-usrbin, cvs-usrsbin Subject: cvs commit: src/usr.bin/chpass chpass.c src/usr.bin/passwd local_passwd.c src/usr.sbin/vipw pw_util.c pw_util.h vipw.c src/usr.sbin/pwd_mkdb pwd_mkdb.c src/usr.sbin/rpc.yppasswdd pw_util.c yppasswdd_extern.h yppasswdd_server.c Message-ID: <199607011938.MAA28221@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
guido 96/07/01 12:38:54 Modified: usr.bin/chpass chpass.c usr.bin/passwd local_passwd.c usr.sbin/pwd_mkdb pwd_mkdb.c usr.sbin/rpc.yppasswdd pw_util.c yppasswdd_extern.h yppasswdd_server.c usr.sbin/vipw pw_util.c pw_util.h vipw.c Log: Implement incremental passwd database updates. This is done by ading a '-u' option to pwd_mkdb and adding this option to utilities invoking it. Further, the filling of both the secure and insecure databases has been merged into one loop giving also a performance improvemnet. Note that I did *not* change the adduser command. I don't read perl (it is a write only language anyway). The change will drastically improve performance for passwd and friends with large passwd files. Vipw's performance won't change. In order to do that some kind of diff should be made between the old and new master.passwd and depending the amount of changes, an incremental or complete update of the databases should be agreed upon. Revision Changes Path 1.9 +4 -2 src/usr.bin/chpass/chpass.c 1.9 +2 -2 src/usr.bin/passwd/local_passwd.c 1.11 +218 -133 src/usr.sbin/pwd_mkdb/pwd_mkdb.c 1.2 +8 -2 src/usr.sbin/rpc.yppasswdd/pw_util.c 1.5 +2 -2 src/usr.sbin/rpc.yppasswdd/yppasswdd_extern.h 1.6 +4 -4 src/usr.sbin/rpc.yppasswdd/yppasswdd_server.c 1.5 +8 -2 src/usr.sbin/vipw/pw_util.c 1.2 +1 -1 src/usr.sbin/vipw/pw_util.h 1.3 +1 -1 src/usr.sbin/vipw/vipw.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607011938.MAA28221>