summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-10 20:13:24 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-10 20:13:24 +0000
commitcdb347c2106982886974a54b4f83189c657b07ea (patch)
tree67c810a1103ecb1117396a0fdf3e9d5cda9ed5b5
parent22ed11beb7c6e47de99ed480b17f3452c53fe600 (diff)
downloadsamba-cdb347c2106982886974a54b4f83189c657b07ea.tar.gz
samba-cdb347c2106982886974a54b4f83189c657b07ea.tar.bz2
samba-cdb347c2106982886974a54b4f83189c657b07ea.zip
Wrote man page for smbpasswd program as part of documentation
effort. Finally added -a option (for Andrew :-). Jeremy (jallison@whistle.com) (This used to be commit e20a5859bc3a06090777a9197163e2ec39be7b3b)
-rw-r--r--docs/manpages/smbpasswd.8112
1 files changed, 112 insertions, 0 deletions
diff --git a/docs/manpages/smbpasswd.8 b/docs/manpages/smbpasswd.8
new file mode 100644
index 0000000000..a00e64d99c
--- /dev/null
+++ b/docs/manpages/smbpasswd.8
@@ -0,0 +1,112 @@
+.TH SMBPASSWD 1 smbpasswd smbpasswd
+.SH NAME
+smbpasswd \- change a users smb password in the smbpasswd file.
+.SH SYNOPSIS
+.B smbpasswd
+[
+.B \-add
+] [
+.B username
+]
+.SH DESCRIPTION
+
+This program is part of the Samba suite.
+
+.B smbpasswd
+allows a user to change their encrypted smb password which
+is stored in the smbpasswd file (usually kept in the
+.I private
+directory under the
+.I Samba
+directory hierarchy. Ordinary users can only run the command
+with no options. It will prompt them for their old smb password
+and then ask them for their new password twice, to ensure that
+the new password was typed correctly. No passwords will
+be echoed on the screen whilst being typed. If you have a blank
+smb password (specified by the string "NO PASSWORD" in the
+smbpasswd file) then just press the <Enter> key when asked
+for your old password.
+
+The
+.I \-add
+and
+.I username
+options can only be used by a user running as root.
+
+.SH OPTIONS
+.I \-add
+
+.RS 3
+Specifies that the username following should be added to
+the
+.I smbpasswd
+file, with the new password typed (type <Enter> for the
+old password). This option is ignored if the username
+following already exists in the
+.I smbpasswd
+file and it is treated like a regular change password
+command. Note that the user to be added
+.B must
+already exist in the system password file (usually /etc/passwd)
+else the request to add the user will fail.
+
+.RE
+.I username
+
+.RS 3
+You may only specify a username to the smbpasswd command
+if you are running as root. Only root should have the
+permission to modify other users smb passwords.
+
+.RE
+.RE
+.SH INSTALLATION
+
+The location of the server and its support files is a matter for individual
+system administrators. The following are thus suggestions only.
+
+It is recommended that the
+.B smbpasswd
+program be installed in the /usr/local/samba/bin directory. This should be
+a directory readable by all, writeable only by root. The program should be
+executable by all. The program
+.B must
+be setuid root. This means the permissions should
+look like -r-sr-xr-x and the program must be owned by root.
+
+.SH VERSION
+
+This man page is correct for version 1.9.17 of the Samba suite.
+These notes will necessarily lag behind
+development of the software, so it is possible that your version of
+the program has extensions or parameter semantics that differ from or are not
+covered by this man page. Please notify these to the address below for
+rectification.
+.SH SEE ALSO
+.BR smbd (8),
+.BR smb.conf (5)
+.SH
+.B BUGS
+
+.RE
+The
+.B smbpasswd
+command is only useful if
+.I Samba
+has been compiled with encrypted passwords. See the file
+.I ENCRYPTION.txt
+in the docs directory for details on how to do this.
+
+.SH CREDITS
+.RE
+The original Samba software and related utilities were created by
+Andrew Tridgell (samba-bugs@samba.anu.edu.au). Andrew is also the Keeper
+of the Source for this project. smbpasswd and the encrypted password
+file code was written by Jeremy Allison (samba-bugs@samba.anu.edu.au).
+
+This man page was written by Jeremy Allison. Bug reports to samba-bugs@anu.edu.au.
+
+See
+.BR smb.conf (5)
+for a full list of contributors and details of how to
+submit bug reports, comments etc.