pwdhash [ -Dconfig_directory] [ -H ] [[ -sscheme ] [ -ccomparepwd ]] [ password ]

Options

Table 7-11 pwdhash options

Option

Description

-Dconfig_directory

Gives the full path to the configuration directory.

 

 

-cpassword

Gives the hashed password string to which to compare the user's password.

 

 

-sscheme

Gives the scheme to hash the given password.

 

 

-H

Shows the help.

 

 

For more information on the different storage schemes, such as SSHA, SHA, CRYPT, and CLEAR, see the HP-UX Directory Server administrator guide.

7.3.10 monitor (Retrieves monitoring information)

Retrieves performance monitoring information using the ldapsearch command-line utility.

Syntax monitor

monitor options There are no options for this script.

For more information on the ldapsearch command-line utility, see “ldif”.

7.3.11 repl-monitor (Monitors replication status)

Shows in-progress status of replication. The repl-monitorscript is a shell script wrapper of the repl-monitor.plcommand to set the appropriate library path.

For more information on the Perl script, see “repl-monitor.pl (Monitors replication status)”.

Syntax

repl-monitor[ -hhost] [ -pport] [ -fconfigFile ] [ -urefreshUrl] [-trefreshInterval] [ -r] [ -v]

Options

Table 7-12 repl-monitor options

Option

Description

-hhost

Specifies the initial replication supplier's host. The default value is the current host name.

 

 

-fconfigFile

Specifies the absolute path to the configuration file, which defines the connection parameters

 

used to connect to LDAP servers to get replication information. For more information

 

about the configuration file, see “Configuration file format”.

 

 

-pport

Specifies the initial replication supplier's port. The default value is 389.

 

 

-r

If specified, causes the routine to be entered without printing the HTML header information.

 

This is suitable when making multiple calls to this routine, such as specifying multiple,

 

different, unrelated supplier servers, and expecting a single HTML output.

 

 

-trefreshInterval

Specifies the refresh interval in seconds. The default value is 300 seconds. This option

 

must be used with the -uoption.

 

 

-urefreshUrl

Specifies the refresh URL. The output HTML file may invoke a CGI program periodically.

 

If this CGI program in turn calls this script, the effect is that the output HTML file would

 

automatically refresh itself. This is useful for continuous monitoring. See also the -toption.

 

The script has been integrated into Administration Express, so that the replication status

 

can be monitored through the Administration Express.

 

 

-v

Prints the version of this script.

 

 

Configuration file format The configuration file defines the following:

222 Command-line scripts