Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 00:15:36 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
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
Message-ID:  <201507170015.t6H0FaRN067126@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bapt@FreeBSD.org>'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 @@
       <task>Support for other architectures (ARM, MIPS, PPC).</task>
     </help>
   </project>
+
+  <project cat='bin'>
+    <title>Cleanup on <tt>pw(8)</tt></title>
+
+    <contact>
+      <person>
+	<name>
+	  <given>Baptiste</given>
+	  <common>Daroussin</common>
+	</name>
+	<email>bapt@FreeBSD.org</email>
+      </person>
+    </contact>
+
+    <body>
+      <p><tt>pw(8)</tt> is the utility to create, delete, and
+	modify users.  This tool has remained mostly untouched since
+	its creation, but needed updating.</p>
+
+      <p>Lots of cleanup has been done:</p>
+
+      <ul>
+	<li>Deduplication of code</li>
+
+	<li>Reduction of complexity by splitting into smaller
+	  functions</li>
+
+	<li>Reuse of existing code in base:
+	  <ul>
+	    <li><tt>sbuf(9)</tt> for buffered string</li>
+
+	    <li><tt>stringlist(3)</tt> for string arrays</li>
+
+	    <li><tt>gr_utils</tt> (from libutil) instead of homemade
+	      group manipulation</li>
+
+	    <li><tt>strptime(3)</tt> to parse time strings</li>
+	  </ul>
+	</li>
+
+	<li>Added validation on most input options, fixing some
+	  serious bugs due to bad usage of <tt>atoi(3)</tt></li>
+
+	<li>many regression tests added to test for regressions due to
+	  all of these changes</li>
+      </ul>
+
+      <p>A new feature was added:
+	<tt>pw -R <u>rootdir</u> <i>cmd</i></tt> which allows
+	cross manipulation of users.</p>
+    </body>
+
+    <help>
+      <task>
+	<p>More cleanup.</p>
+      </task>
+
+      <task>
+	<p>More regression tests.</p>
+      </task>
+
+      <task>
+	<p>LDAP support?</p>
+      </task>
+    </help>
+  </project>
 </report>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507170015.t6H0FaRN067126>