Subject: pw_policy(3), where are you?
To: None <tech-userlevel@NetBSD.org>
From: Oliver Gould <ogould@olix0r.net>
List: tech-userlevel
Date: 07/17/2007 23:45:03
Hi-

Is pw_policy(3) actually used anywhere in our tree?  It seems that the
password policy constraints are hard-coded into passwd(1).

This comes to my attention because I am writing an application (in
Python) that parses /etc/passwd.conf.   When I started to poke around in
libutil, I found the pw_policy stuff, and ported that, too.  However, I
find no instances of it being used:

	(isla)$ grep -Rqc pw_policy_t /usr/src/*bin 2>/dev/null
	(isla)$ 

Of course, the interface is fairly obvious, so I should be able to
complete /my/ work.  I would think, though, that it would be a good
feature for passwd(1).  No?

  - Oliver