Red Hat Directory Server 8.0 Configuration, Command, and File Reference

Table 7.29. ns-inactivate.pl Options
4.11. 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-newpwdpolicy.pl [ -D rootdn ] { -w password | -w - | -j filename } [ -p port ] [ -h host ] -U
userDN -S suffixDN
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.
-w password Specifies the password associated with the
user DN.
-w - Prompts for the password associated with the
user DN.
Chapter 7. Command-Line Scripts
272