Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 1998 15:03:16 -0500 (CDT)
From:      "Scott L. Balneaves" <sbalneav@UWinnipeg.ca>
To:        freebsd-security@FreeBSD.ORG
Subject:   pw_fields in struct passwd
Message-ID:  <Pine.OSF.3.95.980415144704.25676A-100000@io.uwinnipeg.ca>

next in thread | raw e-mail | index | archive | help
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



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