<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smbpasswd</id>
	<title>smbpasswd - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=smbpasswd"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;action=history"/>
	<updated>2026-07-11T21:00:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5442&amp;oldid=prev</id>
		<title>Woozle: updated categories</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5442&amp;oldid=prev"/>
		<updated>2006-09-24T15:10:17Z</updated>

		<summary type="html">&lt;p&gt;updated categories&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:10, 24 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Disambiguation&lt;/del&gt;]][[computing]]: [[Linux]]: [[Samba]]: [[smbpasswd]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;disambiguation]][[category:Samba&lt;/ins&gt;]][[computing]]: [[Linux]]: [[Samba]]: [[smbpasswd]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following things within [[Samba]]:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following things within [[Samba]]:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]] ([[smbpasswd (manpage)|manpage]])&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]] ([[smbpasswd (manpage)|manpage]])&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5437&amp;oldid=prev</id>
		<title>Woozle: manpage link</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5437&amp;oldid=prev"/>
		<updated>2006-09-24T14:24:34Z</updated>

		<summary type="html">&lt;p&gt;manpage link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:24, 24 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following things within [[Samba]]:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following things within [[Samba]]:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;([[smbpasswd (manpage)|manpage]])&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5414&amp;oldid=prev</id>
		<title>Woozle: updated post-move</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5414&amp;oldid=prev"/>
		<updated>2006-09-24T12:24:01Z</updated>

		<summary type="html">&lt;p&gt;updated post-move&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:24, 24 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Disambiguation]][[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Computing&lt;/del&gt;]]: [[Linux]]: [[Samba]]: [[smbpasswd]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Disambiguation]][[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;computing&lt;/ins&gt;]]: [[Linux]]: [[Samba]]: [[smbpasswd]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[smbpasswd]] refers to the following &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;things within [[Samba]]&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (command)|Samba command]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* a [[smbpasswd (file)|Samba configuration file]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5412&amp;oldid=prev</id>
		<title>Woozle: Smbpasswd moved to smbpasswd</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=5412&amp;oldid=prev"/>
		<updated>2006-09-24T12:23:02Z</updated>

		<summary type="html">&lt;p&gt;Smbpasswd moved to smbpasswd&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:23, 24 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=3152&amp;oldid=prev</id>
		<title>Woozle: changed to disambiguation page</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=3152&amp;oldid=prev"/>
		<updated>2006-01-31T16:13:56Z</updated>

		<summary type="html">&lt;p&gt;changed to disambiguation page&lt;/p&gt;
&lt;a href=&quot;https://htyp.org/mw/index.php?title=smbpasswd&amp;amp;diff=3152&amp;amp;oldid=3128&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=3128&amp;oldid=prev</id>
		<title>Woozle at 21:28, 29 January 2006</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=smbpasswd&amp;diff=3128&amp;oldid=prev"/>
		<updated>2006-01-29T21:28:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:manpages]][[Computing]]: [[Linux]]: [[Samba]]: [[smbpasswd]]&lt;br /&gt;
==ManPage==&lt;br /&gt;
===NAME===&lt;br /&gt;
* [[smbpasswd]] - change a user&amp;#039;s SMB password&lt;br /&gt;
===SYNOPSIS===&lt;br /&gt;
* [[smbpasswd]] [-a] [-x] [-d] [-e] [-D debuglevel] [-n] [-r &amp;lt;remote machine&amp;gt;] [-R &amp;lt;name resolve order&amp;gt;] [-m] [-U username[%password]] [-h] [-s] [-w pass] [-i] [-L] [username]&lt;br /&gt;
===DESCRIPTION===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       This tool is part of the samba(7) suite.&lt;br /&gt;
&lt;br /&gt;
       The smbpasswd program has several  different  functions,  depending  on&lt;br /&gt;
       whether it is run by the root user or not. When run as a normal user it&lt;br /&gt;
       allows the user to change the password used for their SMB  sessions  on&lt;br /&gt;
       any machines that store SMB passwords.&lt;br /&gt;
&lt;br /&gt;
       By  default  (when run with no arguments) it will attempt to change the&lt;br /&gt;
       current user&amp;#039;s SMB password on the local machine. This  is  similar  to&lt;br /&gt;
       the  way  the  passwd(1) program works.  smbpasswd differs from how the&lt;br /&gt;
       passwd program works however in that it is not setuid root but works in&lt;br /&gt;
       a  client-server  mode and communicates with a locally running smbd(8).&lt;br /&gt;
       As a consequence in order for this to succeed the smbd daemon  must  be&lt;br /&gt;
       running on the local machine. On a UNIX machine the encrypted SMB pass-&lt;br /&gt;
       words are usually stored in the smbpasswd(5) file.&lt;br /&gt;
&lt;br /&gt;
       When run by an ordinary user with no  options,  smbpasswd  will  prompt&lt;br /&gt;
       them  for  their old SMB password and then ask them for their new pass-&lt;br /&gt;
       word twice, to ensure that the new password  was  typed  correctly.  No&lt;br /&gt;
       passwords  will be echoed on the screen whilst being typed. If you have&lt;br /&gt;
       a blank SMB password (specified by the string &amp;quot;NO PASSWORD&amp;quot; in the smb-&lt;br /&gt;
       passwd  file)  then  just press the &amp;lt;Enter&amp;gt; key when asked for your old&lt;br /&gt;
       password.&lt;br /&gt;
&lt;br /&gt;
       smbpasswd can also be used by a normal user to change their  SMB  pass-&lt;br /&gt;
       word on remote machines, such as Windows NT Primary Domain Controllers.&lt;br /&gt;
       See the (-r) and -U options below.&lt;br /&gt;
&lt;br /&gt;
       When run by root, smbpasswd allows new users to be added and deleted in&lt;br /&gt;
       the  smbpasswd file, as well as allows changes to the attributes of the&lt;br /&gt;
       user in this file to be made. When run by root,  smbpasswd accesses the&lt;br /&gt;
       local smbpasswd file directly, thus enabling changes to be made even if&lt;br /&gt;
       smbd is not running.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===OPTIONS===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
       -a     This option specifies that  the  username  following  should  be&lt;br /&gt;
              added  to  the local smbpasswd file, with the new password typed&lt;br /&gt;
              (type &amp;lt;Enter&amp;gt; for the old password). This option is  ignored  if&lt;br /&gt;
              the  username following already exists in the smbpasswd file and&lt;br /&gt;
              it is treated like a regular change password command. Note  that&lt;br /&gt;
              the default passdb backends require the user to already exist in&lt;br /&gt;
              the system password file (usually /etc/passwd), else the request&lt;br /&gt;
              to add the user will fail.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -x     This  option  specifies  that  the  username following should be&lt;br /&gt;
              deleted from the local smbpasswd file.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -d     This option specifies that the username following should be dis-&lt;br /&gt;
              abled in the local smbpasswd file. This is done by writing a &amp;#039;D&amp;#039;&lt;br /&gt;
              flag into the account control space in the smbpasswd file.  Once&lt;br /&gt;
              this  is  done  all  attempts to authenticate via SMB using this&lt;br /&gt;
              username will fail.&lt;br /&gt;
&lt;br /&gt;
              If the smbpasswd file is in the &amp;#039;old&amp;#039; format (pre-Samba 2.0 for-&lt;br /&gt;
              mat)  there  is  no  space in the user&amp;#039;s password entry to write&lt;br /&gt;
              this information and the command will FAIL. See smbpasswd(5) for&lt;br /&gt;
              details on the &amp;#039;old&amp;#039; and new password file formats.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -e     This  option specifies that the username following should be en-&lt;br /&gt;
              abled in the local smbpasswd file, if the account was previously&lt;br /&gt;
              disabled. If the account was not disabled this option has no ef-&lt;br /&gt;
              fect. Once the account is enabled then the user will be able  to&lt;br /&gt;
              authenticate via SMB once again.&lt;br /&gt;
&lt;br /&gt;
              If  the  smbpasswd  file is in the &amp;#039;old&amp;#039; format, then  smbpasswd&lt;br /&gt;
              will FAIL to enable the account. See smbpasswd(5) for details on&lt;br /&gt;
              the &amp;#039;old&amp;#039; and new password file formats.&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -D debuglevel&lt;br /&gt;
              debuglevel is an integer from 0 to 10. The default value if this&lt;br /&gt;
              parameter is not specified is zero.&lt;br /&gt;
&lt;br /&gt;
              The higher this value, the more detail will be logged to the log&lt;br /&gt;
              files about the activities of smbpasswd. At level 0, only criti-&lt;br /&gt;
              cal errors and serious warnings will be logged.&lt;br /&gt;
&lt;br /&gt;
              Levels above 1 will generate considerable amounts of  log  data,&lt;br /&gt;
              and  should  only  be  used when investigating a problem. Levels&lt;br /&gt;
              above 3 are designed for use only  by  developers  and  generate&lt;br /&gt;
              HUGE amounts of log data, most of which is extremely cryptic.&lt;br /&gt;
&lt;br /&gt;
       -n     This  option  specifies  that the username following should have&lt;br /&gt;
              their password set to null (i.e. a blank password) in the  local&lt;br /&gt;
              smbpasswd file. This is done by writing the string &amp;quot;NO PASSWORD&amp;quot;&lt;br /&gt;
              as the first part of the first password stored in the  smbpasswd&lt;br /&gt;
              file.&lt;br /&gt;
&lt;br /&gt;
              Note  that  to  allow  users to logon to a Samba server once the&lt;br /&gt;
              password has been set to &amp;quot;NO PASSWORD&amp;quot; in the smbpasswd file the&lt;br /&gt;
              administrator  must  set the following parameter in the [global]&lt;br /&gt;
              section of the smb.conf file :&lt;br /&gt;
&lt;br /&gt;
              null passwords = yes&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -r remote machine name&lt;br /&gt;
              This option allows a user to specify what machine they  wish  to&lt;br /&gt;
              change  their  password on. Without this parameter smbpasswd de-&lt;br /&gt;
              faults to the local host. The remote machine name is the NetBIOS&lt;br /&gt;
              name  of  the SMB/CIFS server to contact to attempt the password&lt;br /&gt;
              change. This name is resolved into an IP address using the stan-&lt;br /&gt;
              dard  name  resolution  mechanism  in  all programs of the Samba&lt;br /&gt;
              suite. See the -R name resolve order parameter  for  details  on&lt;br /&gt;
              changing this resolving mechanism.&lt;br /&gt;
&lt;br /&gt;
              The  username  whose  password is changed is that of the current&lt;br /&gt;
              UNIX logged on user. See the -U username parameter  for  details&lt;br /&gt;
              on changing the password for a different username.&lt;br /&gt;
&lt;br /&gt;
              Note  that  if  changing a Windows NT Domain password the remote&lt;br /&gt;
              machine specified must be the Primary Domain Controller for  the&lt;br /&gt;
              domain  (Backup Domain Controllers only have a read-only copy of&lt;br /&gt;
              the user account  database  and  will  not  allow  the  password&lt;br /&gt;
              change).&lt;br /&gt;
&lt;br /&gt;
              Note  that Windows 95/98 do not have a real password database so&lt;br /&gt;
              it is not possible to change passwords specifying a Win95/98 ma-&lt;br /&gt;
              chine as remote machine target.&lt;br /&gt;
&lt;br /&gt;
       -R name resolve order&lt;br /&gt;
              This  option allows the user of smbpasswd to determine what name&lt;br /&gt;
              resolution services to use when looking up the NetBIOS  name  of&lt;br /&gt;
              the host being connected to.&lt;br /&gt;
&lt;br /&gt;
              The  options  are  :&amp;quot;lmhosts&amp;quot;,  &amp;quot;host&amp;quot;, &amp;quot;wins&amp;quot; and &amp;quot;bcast&amp;quot;. They&lt;br /&gt;
              cause names to be resolved as follows:&lt;br /&gt;
&lt;br /&gt;
              ·  lmhosts: Lookup an IP address in the Samba lmhosts  file.  If&lt;br /&gt;
                 the  line in lmhosts has no name type attached to the NetBIOS&lt;br /&gt;
                 name (see the lmhosts(5) for  details)  then  any  name  type&lt;br /&gt;
                 matches for lookup.&lt;br /&gt;
&lt;br /&gt;
              ·  host: Do a standard host name to IP address resolution, using&lt;br /&gt;
                 the system /etc/hosts , NIS, or DNS lookups. This  method  of&lt;br /&gt;
                 name  resolution is operating system depended for instance on&lt;br /&gt;
                 IRIX or Solaris this  may  be  controlled  by  the  /etc/nss-&lt;br /&gt;
                 witch.conf  file).  Note that this method is only used if the&lt;br /&gt;
                 NetBIOS name type being queried is  the  0x20  (server)  name&lt;br /&gt;
                 type, otherwise it is ignored.&lt;br /&gt;
&lt;br /&gt;
              ·  wins:  Query  a  name  with the IP address listed in the wins&lt;br /&gt;
                 server parameter. If no WINS server has been  specified  this&lt;br /&gt;
                 method will be ignored.&lt;br /&gt;
&lt;br /&gt;
              ·  bcast:  Do  a broadcast on each of the known local interfaces&lt;br /&gt;
                 listed in the interfaces parameter. This is the  least  reli-&lt;br /&gt;
                 able of the name resolution methods as it depends on the tar-&lt;br /&gt;
                 get host being on a locally connected subnet.&lt;br /&gt;
&lt;br /&gt;
       The default order is lmhosts, host, wins, bcast and without this param-&lt;br /&gt;
       eter  or  any entry in the smb.conf(5) file the name resolution methods&lt;br /&gt;
       will be attempted in this order.&lt;br /&gt;
&lt;br /&gt;
       -m     This option tells smbpasswd that the account being changed is  a&lt;br /&gt;
              MACHINE account. Currently this is used when Samba is being used&lt;br /&gt;
              as an NT Primary Domain Controller.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -U username&lt;br /&gt;
              This option may only be used in conjunction with the -r  option.&lt;br /&gt;
              When  changing a password on a remote machine it allows the user&lt;br /&gt;
              to specify the user name on that machine whose password will  be&lt;br /&gt;
              changed.  It  is  present to allow users who have different user&lt;br /&gt;
              names on different systems to change these passwords.&lt;br /&gt;
&lt;br /&gt;
       -h     This option prints the help string for  smbpasswd, selecting the&lt;br /&gt;
              correct one for running as root or as an ordinary user.&lt;br /&gt;
&lt;br /&gt;
       -s     This  option  causes  smbpasswd  to  be  silent  (i.e. not issue&lt;br /&gt;
              prompts) and to read its old and new passwords from standard in-&lt;br /&gt;
              put,  rather  than  from  /dev/tty  (like  the passwd(1) program&lt;br /&gt;
              does). This option is to aid people  writing  scripts  to  drive&lt;br /&gt;
              smbpasswd&lt;br /&gt;
&lt;br /&gt;
       -w password&lt;br /&gt;
              This parameter is only available if Samba has been compiled with&lt;br /&gt;
              LDAP support. The -w switch is used to specify the  password  to&lt;br /&gt;
              be  used with theldap admin dn. Note that the password is stored&lt;br /&gt;
              in the secrets.tdb and is keyed off  of  the  admin&amp;#039;s  DN.  This&lt;br /&gt;
              means that if the value of ldap admin dn ever changes, the pass-&lt;br /&gt;
              word will need to be manually updated as well.&lt;br /&gt;
&lt;br /&gt;
       -i     This option tells smbpasswd that the account being changed is an&lt;br /&gt;
              interdomain  trust account. Currently this is used when Samba is&lt;br /&gt;
              being used as an NT Primary Domain Controller. The account  con-&lt;br /&gt;
              tains the info about another trusted domain.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -L     Run in local mode.&lt;br /&gt;
&lt;br /&gt;
       username&lt;br /&gt;
              This  specifies  the username for all of theroot only options to&lt;br /&gt;
              being used as an NT Primary Domain Controller. The account  con-&lt;br /&gt;
              tains the info about another trusted domain.&lt;br /&gt;
&lt;br /&gt;
              This option is only available when running smbpasswd as root.&lt;br /&gt;
&lt;br /&gt;
       -L     Run in local mode.&lt;br /&gt;
&lt;br /&gt;
       username&lt;br /&gt;
              This  specifies  the username for all of theroot only options to&lt;br /&gt;
              operate on. Only root can specify this parameter  as  only  root&lt;br /&gt;
              has  the  permission needed to modify attributes directly in the&lt;br /&gt;
              local smbpasswd file.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===NOTES===&lt;br /&gt;
Since smbpasswd works in client-server mode communicating with a  local smbd  for a non-root user then the smbd daemon must be running for this to work. A common problem is to add a restriction to the hosts that may access  the  smbd running on the local machine by specifying either allow hosts or deny hosts entry in the smb.conf(5) file and neglecting to allow &amp;quot;localhost&amp;quot; access to the smbd.&lt;br /&gt;
&lt;br /&gt;
In addition, the smbpasswd command is only useful if Samba has been set up to use encrypted passwords.&lt;br /&gt;
===VERSION===&lt;br /&gt;
This man page is correct for version 3.0 of the Samba suite.&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[smbpasswd]](5), [[Samba (manpage)|Samba]](7).&lt;br /&gt;
===AUTHOR===&lt;br /&gt;
The original Samba software and related utilities were created  by  Andrew  Tridgell.  Samba  is  now  developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.&lt;br /&gt;
&lt;br /&gt;
The original Samba man pages were written by Karl Auer.  The  man  page sources  were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and  updated  for  the  Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.&lt;br /&gt;
==Edit Notes==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2006-01-29&amp;#039;&amp;#039;&amp;#039; Transcribed from Ubuntu (hoary) manpages&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>