log in, use this script to compare the user's password to the password stored in the directory.
Synta x
pwdhash [ -D config_directory ] [ -H ] [[ -s scheme ] | [ -c comparepwd ]] [ password ]
Options
Table 7.1 2. pwdhash Opt ions
Option Description
-D config_directory Gives the full path to the configuration directory.
-c password Gives the hashed password string to which to
compare the user's password.
-s scheme 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
Directory Server Administrator's Guide.
7.3.13. rest art-slapd (Resta rts the Directory Server)
Restarts the Directory Server.
Synta x
restart-slapd
Options
There are no options for this script.
Exit St atus
Table 7.1 3. resta rt-slapd Exit St atus Codes
Exit Code Description
0 Server restarted successfully.
1 Server could not be started.
2 Server restarted successfully but was already
stopped.
3 Server could not be stopped.
7.3.14 . re storeconfig (Restores Administration Server Configuration)
Restores, by default, the most recently saved Administration Server configuration information to the
NetscapeRoot partition under the /etc/dirsrv/slapd-instance_name/ directory.
To restore the Administration Server configuration, do the following:
1. Stop the Directory Server.
2. Run the restoreconfig script.
3. Restart the Directory Server.
4. Restart the Administration Server for the changes to be taken into account.
Synta x
restoreconfig
Options
There are no options for this script.
7.3.15. save config (Sa ves Administrat ion Server Configura tion)
Saves Administration Server configuration information to
/var/lib/dirsrv/slapd-instance_name/bak directory.
This script will only run if the server is running.
Komentarze do niniejszej Instrukcji