Server User Manual

Chapter 7. Command-Line Scripts
312
Option Description
-j filename Specifies the path, including the filename, to the
file that contains the password associated with
the user DN.
-p port Specifies the Directory Server's port. The default
value is the LDAP port of Directory Server
specified at installation time.
-w password Specifies the password associated with the user
DN.
-w - Prompts for the password associated with the
user DN.
-? Opens the help page.
Table 7.30. ns-inactivate.pl Options
7.4.14. ns-newpwpolicy.pl (Adds Attributes for Fine-Grained
Password Policy)
Adds entries required for implementing the user- and subtree-level password policy. For instructions
on how to enable this feature, see the Red Hat Directory Server Administrator's Guide.
Syntax
ns-newpwpolicy.pl [ -D rootdn ] [ -w password | -j filename ] [ -p port ] [ -h host ] -U
userDN -S suffixDN [ -v ] [ -? ]
Options
Option Description
-D rootdn Specifies the Directory Server user DN with
root permissions, such as Directory Manager.
The default value is cn=directory manager.
-h host Specifies the hostname of the Directory Server.
The default value is localhost or the full
hostname of the machine where Directory Server
is installed.
-j filename Specifies the path, including the filename, to the
file that contains the password associated with
the user DN.
-p port Specifies the Directory Server's port. The default
value is 389 or the LDAP port of Directory Server
specified at installation time.
-S suffixDN Specifies the DN of the suffix entry that needs to
be updated with subtree-level password policy
attributes.
-U userDN Specifies the DN of the user entry that needs
to be updated with user-level password policy
attributes.