From acc399296557787bda0df89cfada058ba8e42813 Mon Sep 17 00:00:00 2001 From: Warren Block Date: Fri, 17 Jul 2015 00:15:35 +0000 Subject: [PATCH] Add Baptiste Daroussin 's report on the pw update. --- .../news/status/report-2015-04-2015-06.xml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml b/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml index bfa1fd747d..bf0c76d112 100644 --- a/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml +++ b/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml @@ -1904,4 +1904,70 @@ Support for other architectures (ARM, MIPS, PPC). + + + Cleanup on <tt>pw(8)</tt> + + + + + Baptiste + Daroussin + + bapt@FreeBSD.org + + + + +

pw(8) is the utility to create, delete, and + modify users. This tool has remained mostly untouched since + its creation, but needed updating.

+ +

Lots of cleanup has been done:

+ +
    +
  • Deduplication of code
  • + +
  • Reduction of complexity by splitting into smaller + functions
  • + +
  • Reuse of existing code in base: +
      +
    • sbuf(9) for buffered string
    • + +
    • stringlist(3) for string arrays
    • + +
    • gr_utils (from libutil) instead of homemade + group manipulation
    • + +
    • strptime(3) to parse time strings
    • +
    +
  • + +
  • Added validation on most input options, fixing some + serious bugs due to bad usage of atoi(3)
  • + +
  • many regression tests added to test for regressions due to + all of these changes
  • +
+ +

A new feature was added: + pw -R rootdir cmd which allows + cross manipulation of users.

+ + + + +

More cleanup.

+
+ + +

More regression tests.

+
+ + +

LDAP support?

+
+
+