From 09fb00c629ed81b25c97a5eb74df4e03c92145ea Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 5 Nov 2002 21:41:04 +0000 Subject: 'make everything' in docs (This used to be commit 960082d860c36419c63094be778decdadb061c1d) --- docs/manpages/pdbedit.8 | 72 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 68 insertions(+), 4 deletions(-) (limited to 'docs/manpages/pdbedit.8') diff --git a/docs/manpages/pdbedit.8 b/docs/manpages/pdbedit.8 index 38e5efab59..b3c1f72c33 100644 --- a/docs/manpages/pdbedit.8 +++ b/docs/manpages/pdbedit.8 @@ -3,12 +3,12 @@ .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . -.TH "PDBEDIT" "8" "01 October 2002" "" "" +.TH "PDBEDIT" "8" "05 November 2002" "" "" .SH NAME pdbedit \- manage the SAM database .SH SYNOPSIS -\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-d drive\fR ] [ \fB-s script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i passdb-backend\fR ] [ \fB-e passdb-backend\fR ] [ \fB-b passdb-backend\fR ] [ \fB-D debuglevel\fR ] +\fBpdbedit\fR [ \fB-l\fR ] [ \fB-v\fR ] [ \fB-w\fR ] [ \fB-u username\fR ] [ \fB-f fullname\fR ] [ \fB-h homedir\fR ] [ \fB-D drive\fR ] [ \fB-S script\fR ] [ \fB-p profile\fR ] [ \fB-a\fR ] [ \fB-m\fR ] [ \fB-x\fR ] [ \fB-i passdb-backend\fR ] [ \fB-e passdb-backend\fR ] [ \fB-b passdb-backend\fR ] [ \fB-d debuglevel\fR ] [ \fB-s configfile\fR ] [ \fB-P account-policy\fR ] [ \fB-V value\fR ] .SH "DESCRIPTION" .PP @@ -108,14 +108,14 @@ directory network path. Example: \fB-h "\\\\\\\\BERSERKER\\\\sorce"\fR .TP -\fB-d drive\fR +\fB-D drive\fR This option can be used while adding or modifing a user account. It will specify the windows drive letter to be used to map the home directory. Example: \fB-d "H:"\fR .TP -\fB-s script\fR +\fB-S script\fR This option can be used while adding or modifing a user account. It will specify the user's logon script path. @@ -181,6 +181,70 @@ Example: \fBpdbedit -e smbpasswd:/root/samba-users.backup\fR Use a different default passdb backend. Example: \fBpdbedit -b xml:/root/pdb-backup.xml -l\fR +.TP +\fB-P account-policy\fR +Display an account policy + +Valid policies are: minimum password age, reset count minutes, disconnect time, +user must logon to change password, password history, lockout duration, min password length, +maximum password age and bad lockout attempt. + +Example: \fBpdbedit -P "bad lockout attempt"\fR + + +.nf + account policy value for bad lockout attempt is 0 + +.fi +.TP +\fB-V account-policy-value\fR +Sets an account policy to a specified value. +This option may only be used in conjunction +with the \fI-P\fR option. + +Example: \fBpdbedit -P "bad lockout attempt" -V 3\fR + + +.nf + account policy value for bad lockout attempt was 0 + account policy value for bad lockout attempt is now 3 + +.fi +.TP +\fB-d|--debug=debuglevel\fR +\fIdebuglevel\fR is an integer +from 0 to 10. The default value if this parameter is +not specified is zero. + +The higher this value, the more detail will be +logged to the log files about the activities of the +server. At level 0, only critical errors and serious +warnings will be logged. Level 1 is a reasonable level for +day to day running - it generates a small amount of +information about operations carried out. + +Levels above 1 will generate considerable +amounts of log data, and should only be used when +investigating a problem. Levels above 3 are designed for +use only by developers and generate HUGE amounts of log +data, most of which is extremely cryptic. + +Note that specifying this parameter here will +override the log +level file. +.TP +\fB-h|--help\fR +Print a summary of command line options. +.TP +\fB-s \fR +The file specified contains the +configuration details required by the server. The +information in this file includes server-specific +information such as what printcap file to use, as well +as descriptions of all the services that the server is +to provide. See \fIsmb.conf(5)\fR for more information. +The default configuration file name is determined at +compile time. .SH "NOTES" .PP This command may be used only by root. -- cgit