1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="afppasswd.1">
4 <refentrytitle>afppasswd</refentrytitle>
6 <manvolnum>1</manvolnum>
8 <refmiscinfo class="date">22 Mar 2012</refmiscinfo>
10 <refmiscinfo class="source">:NETATALK_VERSION:</refmiscinfo>
14 <refname>afppasswd</refname>
16 <refpurpose>netatalk password maintenance utility</refpurpose>
21 <command>afppasswd<indexterm>
22 <primary>afppasswd</primary>
23 </indexterm><indexterm>
24 <primary>UAM</primary>
26 <secondary>User Authentication Module</secondary>
27 </indexterm></command>
29 <arg choice="opt">-acfn</arg>
31 <arg choice="opt"><arg choice="plain">-p
32 <replaceable>passwd</replaceable></arg><arg
33 choice="plain"><replaceable>file</replaceable></arg></arg>
35 <arg choice="opt"><arg choice="plain">-u
36 <replaceable>minimum</replaceable></arg><arg
37 choice="plain"><replaceable>uid</replaceable></arg></arg>
42 <title>DESCRIPTION</title>
44 <para><command>afppasswd</command> allows the maintenance of afppasswd
45 files created by netatalk for use by the uams_randnum.so UAM (providing
46 the "Randnum exchange" and "2-Way Randnum exchange" User Authentication
49 <para><command>afppasswd</command> can either be called by root with
50 parameters, or can be called by local system users with no parameters to
51 change their AFP passwords.</para>
54 <para>With this utility you can only change the passwords used by two
55 specific UAMs. As they provide only weak password encryption, the use of
56 the "Randnum exchange" and "2-Way Randnum exchange" UAMs is deprecated
57 unless one has to support very old AFP clients, that can not deal with
58 the more secure "DHCAST128" and "DHX2" UAM instead. Please compare with
59 the <link linkend="authentication">Authentication chapter</link> inside
60 Netatalk's documentation.</para>
65 <title>EXAMPLE</title>
67 <para>Local user changing their own password:</para>
69 <screen><prompt>example%</prompt> <userinput>afppasswd</userinput>
70 <computeroutput>Enter NEW AFP password:</computeroutput> <userinput>(hidden)</userinput>
71 <computeroutput>Enter NEW AFP password again:</computeroutput> <userinput>(hidden)</userinput>
72 <computeroutput>afppasswd: updated password.</computeroutput>
77 <title>OPTIONS</title>
79 <variablelist remap="TP">
81 <term><option>-a</option></term>
84 <para>Add a new user to the <command>afppasswd</command>
90 <term><option>-c</option></term>
93 <para>Create and/or initialize <command>afppasswd</command> file or
99 <term><option>-f</option></term>
102 <para>Force the current action.</para>
107 <term><option>-p</option><replaceable> path</replaceable></term>
110 <para>Path to <command>afppasswd</command> file.</para>
115 <term><option>-n</option></term>
118 <para>If cracklib support is built into <emphasis
119 remap="B">netatalk</emphasis> this option will cause cracklib
120 checking to be disabled, if the superuser does not want to have the
121 password run against the cracklib dictionary.</para>
126 <term><option>-u</option><replaceable> minimum
127 uid</replaceable></term>
130 <para>This is the minimum <emphasis remap="I">user id</emphasis>
131 (uid) that <command>afppasswd</command> will use when creating
139 <title>SEE ALSO</title>
142 <refentrytitle>afpd</refentrytitle>
144 <manvolnum>8</manvolnum>
145 </citerefentry>, <citerefentry>
146 <refentrytitle>afp.conf</refentrytitle>
148 <manvolnum>5</manvolnum>
149 </citerefentry>.</para>