- Timestamp:
- Mar 1, 2010, 3:05:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/docs/htmldocs/manpages/smbpasswd.8.html
r368 r411 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbpasswd</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7 5.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="smbpasswd"><a name="smbpasswd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd — change a user's SMB password</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbpasswd</code> [-a] [-c <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id2489528"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The smbpasswd program has several different1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbpasswd</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbpasswd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbpasswd — change a user's SMB password</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbpasswd</code> [-a] [-c <config file>] [-x] [-d] [-e] [-D debuglevel] [-n] [-r <remote machine>] [-R <name resolve order>] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-W] [-i] [-L] [username]</p></div></div><div class="refsect1" lang="en"><a name="id2483543"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The smbpasswd program has several different 2 2 functions, depending on whether it is run by the <span class="emphasis"><em>root</em></span> user 3 3 or not. When run as a normal user it allows the user to change … … 26 26 smbpasswd</code> accesses the local smbpasswd file 27 27 directly, thus enabling changes to be made even if smbd is not 28 running. </p></div><div class="refsect1" title="OPTIONS"><a name="id2489650"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><p>28 running. </p></div><div class="refsect1" lang="en"><a name="id2483665"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-a</span></dt><dd><p> 29 29 This option specifies that the username following should be added to the local smbpasswd file, with the new 30 30 password typed (type <Enter> for the old password). This option is ignored if the username following … … 93 93 what name resolution services to use when looking up the NetBIOS 94 94 name of the host being connected to. </p><p>The options are :"lmhosts", "host", "wins" and "bcast". They 95 cause names to be resolved as follows: </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><code class="constant">lmhosts</code>: Lookup an IP95 cause names to be resolved as follows: </p><div class="itemizedlist"><ul type="disc"><li><p><code class="constant">lmhosts</code>: Lookup an IP 96 96 address in the Samba lmhosts file. If the line in lmhosts has 97 97 no name type attached to the NetBIOS name (see the <a class="citerefentry" href="lmhosts.5.html"><span class="citerefentry"><span class="refentrytitle">lmhosts</span>(5)</span></a> for details) then 98 any name type matches for lookup.</p></li><li class="listitem"><p><code class="constant">host</code>: Do a standard host98 any name type matches for lookup.</p></li><li><p><code class="constant">host</code>: Do a standard host 99 99 name to IP address resolution, using the system <code class="filename">/etc/hosts 100 100 </code>, NIS, or DNS lookups. This method of name resolution … … 103 103 file). Note that this method is only used if the NetBIOS name 104 104 type being queried is the 0x20 (server) name type, otherwise 105 it is ignored.</p></li><li class="listitem"><p><code class="constant">wins</code>: Query a name with105 it is ignored.</p></li><li><p><code class="constant">wins</code>: Query a name with 106 106 the IP address listed in the <em class="parameter"><code>wins server</code></em> 107 107 parameter. If no WINS server has been specified this method 108 will be ignored.</p></li><li class="listitem"><p><code class="constant">bcast</code>: Do a broadcast on108 will be ignored.</p></li><li><p><code class="constant">bcast</code>: Do a broadcast on 109 109 each of the known local interfaces listed in the 110 110 <em class="parameter"><code>interfaces</code></em> parameter. This is the least … … 152 152 can specify this parameter as only root has the permission needed 153 153 to modify attributes directly in the local smbpasswd file. 154 </p></dd></dl></div></div><div class="refsect1" title="NOTES"><a name="id2538538"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server154 </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2532556"></a><h2>NOTES</h2><p>Since <code class="literal">smbpasswd</code> works in client-server 155 155 mode communicating with a local smbd for a non-root user then 156 156 the smbd daemon must be running for this to work. A common problem … … 160 160 the <a class="citerefentry" href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> file and neglecting to 161 161 allow "localhost" access to the smbd. </p><p>In addition, the smbpasswd command is only useful if Samba 162 has been set up to use encrypted passwords. </p></div><div class="refsect1" title="VERSION"><a name="id2538587"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba suite.</p></div><div class="refsect1" title="SEE ALSO"><a name="id2538597"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a>, <a class="citerefentry" href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>.</p></div><div class="refsect1" title="AUTHOR"><a name="id2538621"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities162 has been set up to use encrypted passwords. </p></div><div class="refsect1" lang="en"><a name="id2532604"></a><h2>VERSION</h2><p>This man page is correct for version 3 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2532615"></a><h2>SEE ALSO</h2><p><a class="citerefentry" href="smbpasswd.5.html"><span class="citerefentry"><span class="refentrytitle">smbpasswd</span>(5)</span></a>, <a class="citerefentry" href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>.</p></div><div class="refsect1" lang="en"><a name="id2532638"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities 163 163 were created by Andrew Tridgell. Samba is now developed 164 164 by the Samba Team as an Open Source project similar
Note:
See TracChangeset
for help on using the changeset viewer.