From owner-svn-doc-head@freebsd.org Fri Jul 17 00:15:36 2015 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EADE39A3952; Fri, 17 Jul 2015 00:15:36 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C14B21DB2; Fri, 17 Jul 2015 00:15:36 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6H0Fa7l067127; Fri, 17 Jul 2015 00:15:36 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6H0FaRN067126; Fri, 17 Jul 2015 00:15:36 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201507170015.t6H0FaRN067126@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Fri, 17 Jul 2015 00:15:36 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47001 - head/en_US.ISO8859-1/htdocs/news/status X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 00:15:37 -0000 Author: wblock Date: Fri Jul 17 00:15:35 2015 New Revision: 47001 URL: https://svnweb.freebsd.org/changeset/doc/47001 Log: Add Baptiste Daroussin 's report on the pw update. Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml Fri Jul 17 00:02:15 2015 (r47000) +++ head/en_US.ISO8859-1/htdocs/news/status/report-2015-04-2015-06.xml Fri Jul 17 00:15:35 2015 (r47001) @@ -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?

+
+
+