[PATCH] s4:pwsettings: Show default values in help messages.

Andrew Kroeger andrew at id10ts.net
Tue Sep 8 01:34:56 MDT 2009


---
 source4/setup/pwsettings |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/source4/setup/pwsettings b/source4/setup/pwsettings
index 44e12d0..cd9c07d 100755
--- a/source4/setup/pwsettings
+++ b/source4/setup/pwsettings
@@ -33,13 +33,13 @@ parser.add_option("-H", help="LDB URL for database or target server", type=str)
 parser.add_option("--complexity",
   help="The password complexity (on | off | default). Default is 'on'", type=str)
 parser.add_option("--history-length",
-  help="The password history length (<integer> | default)", type=str)
+  help="The password history length (<integer> | default).  Default is 24.", type=str)
 parser.add_option("--min-pwd-length",
-  help="The minimum password length (<integer> | default)", type=str)
+  help="The minimum password length (<integer> | default).  Default is 7.", type=str)
 parser.add_option("--min-pwd-age",
-  help="The minimum password age (<integer in days> | default)", type=str)
+  help="The minimum password age (<integer in days> | default).  Default is 0.", type=str)
 parser.add_option("--max-pwd-age",
-  help="The maximum password age (<integer in days> | default)", type=str)
+  help="The maximum password age (<integer in days> | default).  Default is 43.", type=str)
 
 opts, args = parser.parse_args()
 
-- 
1.6.0.6


--------------000702080806020802060003
Content-Type: text/plain;
 name="0007-testprogs-subunit.sh-Add-function-for-expected-fail.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0007-testprogs-subunit.sh-Add-function-for-expected-fail.pat";
 filename*1="ch"



More information about the samba-technical mailing list