passwd program

The name of a program that can be used to set
UNIX user passwords. Any occurrences of %u
will be replaced with the user name. The user name is checked for
existence before calling the password changing program.

Also note that many passwd programs insist in reasonable
passwords, such as a minimum length, or the inclusion
of mixed case chars and digits. This can pose a problem as some clients
(such as Windows for Workgroups) uppercase the password before sending

Note that if the unix
password sync parameter is set to yes
then this program is called AS ROOT
before the SMB password in the smbpasswd
file is changed. If this UNIX password change fails, then
smbd will fail to change the SMB password also
(this is by design).

If the unix password sync parameter
is set this parameter MUST USE ABSOLUTE PATHS
for ALL programs called, and must be examined
for security implications. Note that by default unix
password sync is set to no.

Example: /bin/passwd %u

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

passwd program

Registry PathSoftware\Policies\Samba\smb_conf\passwd program
Value Namepasswd program
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)