From owner-freebsd-security Wed Apr 15 13:03:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25874 for freebsd-security-outgoing; Wed, 15 Apr 1998 13:03:51 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from io.uwinnipeg.ca (sbalneav@io.uwinnipeg.ca [142.132.1.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA25788 for ; Wed, 15 Apr 1998 20:03:19 GMT (envelope-from sbalneav@UWinnipeg.ca) Received: from localhost (sbalneav@localhost) by io.uwinnipeg.ca (8.8.8/8.8.8) with SMTP id PAA27109 for ; Wed, 15 Apr 1998 15:03:16 -0500 (CDT) Date: Wed, 15 Apr 1998 15:03:16 -0500 (CDT) From: "Scott L. Balneaves" Reply-To: scott.balneaves@UWinnipeg.ca To: freebsd-security@FreeBSD.ORG Subject: pw_fields in struct passwd Message-ID: Organization: University of Winnipeg MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk Hello all: Not sure if this is the right place to ask, but... I'm currently working on a putpwent() routine. We have a FreeBSD box that serves over 7000 student accounts. The claimid process is automatic, and I'm having to run a pwd_mkdb every hour. However, with 7000 users and an average of 100+ logged in at any time, the chances of the password database being locked are pretty high. Things are going well, I already have a program that extracts a master.passwd file from the hashed database. What isn't documented anywhere is what the pw_field entry in the passwd structure is doing. In looking through the source for chpass, it seems to be related to YP. Does anyone have any tips as to how I'm to build this field up? Thanks in advance... Scott ---------------------------------------------------------------------------- Scott Balneaves, U of W Unix Support| A right is not what someone gives you; Email: sbalneav@uwinnipeg.ca | it's what no one can take from you. | -- Ramsey Clark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message