- Timestamp:
- Jun 24, 2009, 5:09:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/manpages/smbpasswd.8.html
r158 r286 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 3.2"></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="id258956"></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="id2483557"></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" lang="en"><a name="id2 59059"></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="id2483679"></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 … … 129 129 has been compiled with LDAP support. The <em class="parameter"><code>-w</code></em> 130 130 switch is used to specify the password to be used with the 131 <a class="link" href="smb.conf.5.html#LDAPADMINDN" >ldap admin dn</a>. Note that the password is stored in131 <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">ldap admin dn</a>. Note that the password is stored in 132 132 the <code class="filename">secrets.tdb</code> and is keyed off 133 133 of the admin's DN. This means that if the value of <em class="parameter"><code>ldap … … 139 139 has been compiled with LDAP support. The <em class="parameter"><code>-W</code></em> 140 140 switch is used to specify the password to be used with the 141 <a class="link" href="smb.conf.5.html#LDAPADMINDN" >ldap admin dn</a>. Note that the password is stored in141 <a class="link" href="smb.conf.5.html#LDAPADMINDN" target="_top">ldap admin dn</a>. Note that the password is stored in 142 142 the <code class="filename">secrets.tdb</code> and is keyed off 143 143 of the admin's DN. This means that if the value of <em class="parameter"><code>ldap … … 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" lang="en"><a name="id 300254"></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="id2532569"></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" lang="en"><a name="id 300298"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id300309"></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="id300332"></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="id2532618"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2532629"></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="id2532652"></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.