1 .TH SMBPASSWD 8 "02 Nov 1997" "smbpasswd 1.9.18alpha10"
3 smbpasswd \- change a users smb password in the smbpasswd file.
13 This program is part of the Samba suite.
16 allows a user to change their encrypted smb password which
17 is stored in the smbpasswd file (usually kept in the
21 directory hierarchy. Ordinary users can only run the command
22 with no options. It will prompt them for their old smb password
23 and then ask them for their new password twice, to ensure that
24 the new password was typed correctly. No passwords will
25 be echoed on the screen whilst being typed. If you have a blank
26 smb password (specified by the string "NO PASSWORD" in the
27 smbpasswd file) then just press the <Enter> key when asked
28 for your old password.
34 options can only be used by a user running as root.
40 Specifies that the username following should be added to
43 file, with the new password typed (type <Enter> for the
44 old password). This option is ignored if the username
45 following already exists in the
47 file and it is treated like a regular change password
48 command. Note that the user to be added
50 already exist in the system password file (usually /etc/passwd)
51 else the request to add the user will fail.
57 You may only specify a username to the smbpasswd command
58 if you are running as root. Only root should have the
59 permission to modify other users smb passwords.
65 The location of the server and its support files is a matter for individual
66 system administrators. The following are thus suggestions only.
68 It is recommended that the
70 program be installed in the /usr/local/samba/bin directory. This should be
71 a directory readable by all, writeable only by root. The program should be
72 executable by all. The program
74 be setuid root. This means the permissions should
75 look like -r-sr-xr-x and the program must be owned by root.
79 This man page is correct for version 1.9.17 of the Samba suite.
80 These notes will necessarily lag behind
81 development of the software, so it is possible that your version of
82 the program has extensions or parameter semantics that differ from or are not
83 covered by this man page. Please notify these to the address below for
94 command is only useful if
96 has been compiled with encrypted passwords. See the file
98 in the docs directory for details on how to do this.
102 The original Samba software and related utilities were created by
103 Andrew Tridgell (samba-bugs@samba.anu.edu.au). Andrew is also the Keeper
104 of the Source for this project. smbpasswd and the encrypted password
105 file code was written by Jeremy Allison (samba-bugs@samba.anu.edu.au).
107 This man page was written by Jeremy Allison. Bug reports to samba-bugs@samba.anu.edu.au.
111 for a full list of contributors and details of how to
112 submit bug reports, comments etc.