Add Baptiste Daroussin <bapt@FreeBSD.org>'s report on the pw update.
This commit is contained in:
parent
79eaf2a92a
commit
acc3992965
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47001
1 changed files with 66 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue