Syntax, Options – Red Hat 8.1 User Manual
Page 232
Table 7.29. ns-activate.pl Options
Option
Description
-D rootdn
Specifies the Directory Server user DN with root
permissions, such as Directory Manager.
-h host
Specifies the hostname of the Directory Server.
The default value is the full hostname of the
machine where Directory Server is installed.
-I DN
Specifies the entry DN or role DN to activate.
-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.
7.4 .13. ns-inactivate.pl (Inactivates an Entry or Group of Entries)
Inactivates, and consequently locks, an entry or group of entries.
Syntax
ns-inactivate.pl [ -D rootdn ] [ -w password | -w - | -j filename ] [ -p port ] [ -h host ] -I DN [ -? ]
Options
Table 7.30. ns-inactivate.pl Options
Option
Description
-D rootdn
Specifies the Directory Server user DN with root
permissions, such as Directory Manager.
-h host
Specifies the hostname of the Directory Server.
The default value is the full hostname of the
machine where Directory Server is installed.
-I DN
Specifies the entry DN or role DN to deactivate.
-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.
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
232
Chapter 7. Command-Line Scripts