From f2832d2adf885b6a58bf28593548383da1ac0755 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 16 Jul 2013 12:55:19 +0000
Subject: [PATCH] CR-2006 Fix for OPENDJ-1046: Make paths to commands consistent throughout the doc set
---
opends/src/main/docbkx/admin-guide/chap-troubleshooting.xml | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/opends/src/main/docbkx/admin-guide/chap-troubleshooting.xml b/opends/src/main/docbkx/admin-guide/chap-troubleshooting.xml
index 06a1af7..47bb515 100644
--- a/opends/src/main/docbkx/admin-guide/chap-troubleshooting.xml
+++ b/opends/src/main/docbkx/admin-guide/chap-troubleshooting.xml
@@ -103,15 +103,14 @@
<step>
<para>Generate the encoded version of the new password using the OpenDJ
<command>encode-password</command> command.</para>
- <screen>$ cd /path/to/opendj/bin/
-$ ./encode-password --storageScheme SSHA512 --clearPassword password
+ <screen>$ encode-password --storageScheme SSHA512 --clearPassword password
Encoded Password: "{SSHA512}yWqHnYV4a5llPvE7WHLe5jzK27oZQWLIlVcs9gySu4TyZJMg
NQNRtnR/Xx2xces1wu1dVLI9jVVtl1W4BVsmOKjyjr0rWrHt"</screen>
</step>
<step>
<para>Stop OpenDJ directory server while you edit the configuration.</para>
- <screen>$ ./stop-ds</screen>
+ <screen>$ stop-ds</screen>
</step>
<step>
@@ -144,13 +143,13 @@
<step>
<para>Start OpenDJ directory server again.</para>
- <screen>$ ./start-ds</screen>
+ <screen>$ start-ds</screen>
</step>
<step>
<para>Verify that you can administer the server as Directory Manager using
the new password.</para>
- <screen>$ ./dsconfig -p 4444 -h `hostname` -D "cn=Directory Manager" -w password
+ <screen>$ dsconfig -p 4444 -h opendj.example.com -D "cn=Directory Manager" -w password
>>>> OpenDJ configuration console main menu
@@ -180,8 +179,7 @@
<step>
<para>Use the <command>ldappasswordmodify</command> command to reset the
global administrator's password</para>
- <screen>$ cd /path/to/opendj/bin/
-$ ./ldappasswordmodify
+ <screen>$ ldappasswordmodify
--useStartTLS
--port 1389
--hostname opendj.example.com
@@ -385,7 +383,7 @@
<screen>$ dsconfig
set-global-configuration-prop
--port 4444
- --hostname `hostname`
+ --hostname opendj.example.com
--bindDN "cn=Directory Manager"
--bindPassword password
--set single-structural-objectclass-behavior:warn
--
Gitblit v1.10.0