1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>afppasswd</title><link rel="stylesheet" href="netatalk.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="Netatalk 2.0 Manual"><link rel="up" href="man-pages.html" title="Chapter�5.�Manual Pages"><link rel="previous" href="afpd.conf.5.html" title="afpd.conf"><link rel="next" href="AppleVolumes.default.5.html" title="AppleVolumes.default"><link rel="stylesheet" type="text/css" charset="iso-8859-1" href="printer.css" media="print"><link rel="alternate stylesheet" type="text/css" charset="iso-8859-1" href="printer.css" title="Printer"><link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1"><link rel="author" title="The Netatalk Development Team" href="http://netatalk.sf.net"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">afppasswd</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="afpd.conf.5.html">Prev</a>�</td><th width="60%" align="center">Chapter�5.�Manual Pages</th><td width="20%" align="right">�<a accesskey="n" href="AppleVolumes.default.5.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="afppasswd.1"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>afppasswd — netatalk password maintenance utility</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">afppasswd<a class="indexterm" name="id2906691"></a><a class="indexterm" name="id2906701"></a></tt> [-acfn] [ -p
2
<i class="replaceable"><tt>passwd</tt></i> <i class="replaceable"><tt>file</tt></i> ] [ -u
3
<i class="replaceable"><tt>minimum</tt></i> <i class="replaceable"><tt>uid</tt></i> ]</p></div></div><div class="refsect1" lang="en"><a name="id2906784"></a><h2>DESCRIPTION</h2><p><span><b class="command">afppasswd</b></span> allows the maintenance of afppasswd
4
files created by netatalk for use by the uams_randnum.so UAM (providing
5
the "Randnum exchange" and "2-Way Randnum exchange" User Authentication
6
Modules).</p><p><span><b class="command">afppasswd</b></span> can either be called by root with
7
parameters, or can be called by local system users with no parameters to
8
change their AFP passwords.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>With this utility you can only change the passwords used by two
9
specific UAMs. As they provide only weak password encryption, the use of
10
the "Randnum exchange" and "2-Way Randnum exchange" UAMs is deprecated
11
unless one has to support very old AFP clients, that can not deal with
12
the more secure "DHCAST128" UAM instead. Please compare with the <a href="configuration.html#authentication" title="Authentication">Authentication chapter</a> inside Netatalk's
13
documentation.</p></div></div><div class="refsect1" lang="en"><a name="id2906842"></a><h2>EXAMPLE</h2><p>Local user changing their own password:</p><pre class="screen"><tt class="prompt">example%</tt> <b class="userinput"><tt>afppasswd</tt></b>
14
<tt class="computeroutput">Enter NEW AFP password:</tt> <b class="userinput"><tt>(hidden)</tt></b>
15
<tt class="computeroutput">Enter NEW AFP password again:</tt> <b class="userinput"><tt>(hidden)</tt></b>
16
<tt class="computeroutput">afppasswd: updated password.</tt>
17
</pre></div><div class="refsect1" lang="en"><a name="id2906910"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term"><tt class="option">-a</tt></span></dt><dd><p>Add a new user to the <span><b class="command">afppasswd</b></span>
18
file.</p></dd><dt><span class="term"><tt class="option">-c</tt></span></dt><dd><p>Create and/or initialize <span><b class="command">afppasswd</b></span> file or
19
specific user.</p></dd><dt><span class="term"><tt class="option">-f</tt></span></dt><dd><p>Force the current action.</p></dd><dt><span class="term"><tt class="option">-p</tt><i class="replaceable"><tt> path</tt></i></span></dt><dd><p>Path to <span><b class="command">afppasswd</b></span> file.</p></dd><dt><span class="term"><tt class="option">-n</tt></span></dt><dd><p>If cracklib support is built into <span class="emphasis"><em>netatalk</em></span> this option will cause cracklib
20
checking to be disabled, if the superuser does not want to have the
21
password run against the cracklib dictionary.</p></dd><dt><span class="term"><tt class="option">-u</tt><i class="replaceable"><tt> minimum
22
uid</tt></i></span></dt><dd><p>This is the minimum <span class="emphasis"><em>user id</em></span>
23
(uid) that <span><b class="command">afppasswd</b></span> will use when creating
24
users.</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2907087"></a><h2>SEE ALSO</h2><p><a href="afpd.8.html"><span class="citerefentry"><span class="refentrytitle">afpd</span>(8)</span></a>, <a href="atalkd.8.html"><span class="citerefentry"><span class="refentrytitle">atalkd</span>(8)</span></a>.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="afpd.conf.5.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="man-pages.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="AppleVolumes.default.5.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">afpd.conf�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�AppleVolumes.default</td></tr></table></div></body></html>