From fa97303d840e27ede3227d40f85248dab0f4f625 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Mon, 19 Dec 2005 23:42:57 +0000 Subject: [PATCH] Added -c option to smbpasswd.8 (This used to be commit 5b8574bf468f5ec918c520133e3ed4476315433f) --- docs/manpages-3/smbpasswd.8.xml | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/docs/manpages-3/smbpasswd.8.xml b/docs/manpages-3/smbpasswd.8.xml index fa2ed9e9b84..cce4d14cf9e 100644 --- a/docs/manpages-3/smbpasswd.8.xml +++ b/docs/manpages-3/smbpasswd.8.xml @@ -17,6 +17,7 @@ smbpasswd -a + -c <config file> -x -d -e @@ -86,30 +87,37 @@ -a - This option specifies that the username - following should be added to the local 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 smbpasswd file and it is treated like a regular change - password command. Note that the default passdb backends require - the user to already exist in the system password file (usually - /etc/passwd), else the request to add the - user will fail. + + This option specifies that the username following should be added to the local 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 smbpasswd file and it is treated like a regular change password command. Note that the + default passdb backends require the user to already exist in the system password file (usually + /etc/passwd), else the request to add the user will fail. + This option is only available when running smbpasswd as root. + + + -c + + This option can be used to specify the path and file name of the &smb.conf; configuration file when it + is important to use other than the default file and / or location. + + -x - This option specifies that the username - following should be deleted from the local smbpasswd file. + + This option specifies that the username following should be deleted from the local smbpasswd file. - This option is only available when running smbpasswd as - root. + + This option is only available when running smbpasswd as root. + -- 2.11.4.GIT