summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2005-12-19 23:42:57 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:14 -0500
commitfa97303d840e27ede3227d40f85248dab0f4f625 (patch)
treeda7bc67a104d59854928da3fb230a5bdd5bffc7b
parent0531ddb7c8aaf51f6109556d11d19114efbb5c63 (diff)
downloadsamba-fa97303d840e27ede3227d40f85248dab0f4f625.tar.gz
samba-fa97303d840e27ede3227d40f85248dab0f4f625.tar.bz2
samba-fa97303d840e27ede3227d40f85248dab0f4f625.zip
Added -c option to smbpasswd.8
(This used to be commit 5b8574bf468f5ec918c520133e3ed4476315433f)
-rw-r--r--docs/manpages-3/smbpasswd.8.xml34
1 files changed, 21 insertions, 13 deletions
diff --git a/docs/manpages-3/smbpasswd.8.xml b/docs/manpages-3/smbpasswd.8.xml
index fa2ed9e9b8..cce4d14cf9 100644
--- a/docs/manpages-3/smbpasswd.8.xml
+++ b/docs/manpages-3/smbpasswd.8.xml
@@ -17,6 +17,7 @@
<cmdsynopsis>
<command>smbpasswd</command>
<arg choice="opt">-a</arg>
+ <arg choice="opt">-c &lt;config file&gt;</arg>
<arg choice="opt">-x</arg>
<arg choice="opt">-d</arg>
<arg choice="opt">-e</arg>
@@ -86,30 +87,37 @@
<variablelist>
<varlistentry>
<term>-a</term>
- <listitem><para>This option specifies that the username
- following should be added to the local smbpasswd file, with the
- new password typed (type &lt;Enter&gt; for the old password). This
- option is ignored if the username following already exists in
- the smbpasswd file and it is treated like a regular change
- password command. Note that the default passdb backends require
- the user to already exist in the system password file (usually
- <filename>/etc/passwd</filename>), else the request to add the
- user will fail. </para>
+ <listitem><para>
+ This option specifies that the username following should be added to the local smbpasswd file, with the new
+ password typed (type &lt;Enter&gt; for the old password). This option is ignored if the username following
+ already exists in the smbpasswd file and it is treated like a regular change password command. Note that the
+ default passdb backends require the user to already exist in the system password file (usually
+ <filename>/etc/passwd</filename>), else the request to add the user will fail.
+ </para>
<para>This option is only available when running smbpasswd
as root. </para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>-c</term>
+ <listitem><para>
+ This option can be used to specify the path and file name of the &smb.conf; configuration file when it
+ is important to use other than the default file and / or location.
+ </para></listitem>
+ </varlistentry>
<varlistentry>
<term>-x</term>
- <listitem><para>This option specifies that the username
- following should be deleted from the local smbpasswd file.
+ <listitem><para>
+ This option specifies that the username following should be deleted from the local smbpasswd file.
</para>
- <para>This option is only available when running smbpasswd as
- root.</para></listitem>
+ <para>
+ This option is only available when running smbpasswd as root.
+ </para></listitem>
</varlistentry>