Ns-accountstatus.pl (establishes account status), Syntax, Options – Red Hat 8.1 User Manual

Page 231

Advertising
background image

number of d's increases the debug level.

--logfile name

-l

This parameter specifies a log file to which
to write the output. If this is not set, then the
migration information is written to a
temporary file, named
/tm p/m igrateXXXXX.log.
To disable logging, set /dev/null as the
logfile.

7.4 .11. ns-accountstatus.pl (Establishes Account Status)

Provides account status information to establish whether an entry or group of entries is inactivated.

Syntax

ns-accountstatus.pl [ -D rootdn ] [ -w password | -w - | -j filename ] [ -p port ] [ -h host ] -I DN [ -
? ]

Options

Table 7.28. ns-accountstatus.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 whose status is
required.

-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 .12. ns-activate.pl (Activates an Entry or Group of Entries)

Activates an entry or group of entries.

Syntax

ns-activate.pl [ -D rootdn ] [ -w password | -w - | -j filename ] [ -p port ] [ -h host ] -I DN [ -? ]

Options

Red Hat Directory Server 8.1 Configuration and Command Reference

231

Advertising