File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -2151,13 +2151,16 @@ you can put the initialise command and password on the command
2151
2151
line. But this allows others on the host to see the password (using
2152
2152
the ps command). To initialise a tracker non-interactively without
2153
2153
exposing the password, create a file (e.g init_tracker) set to mode
2154
- 600 (so only the owner can read it) with the contents:
2154
+ 600 (so only the owner can read it) with the contents::
2155
2155
2156
2156
initialise admin_password
2157
2157
2158
- and feed it to roundup-admin on standard input. E.G.
2158
+ and feed it to roundup-admin on standard input. E.G.::
2159
2159
2160
- cat init_tracker | roundup-admin -i tracker_dir
2160
+ cat init_tracker | roundup-admin -i tracker_dir -P history_features=2
2161
+
2162
+ setting the pragma ``history_features=2`` prevents storing the command
2163
+ in the user's history file.
2161
2164
2162
2165
(for more details see https://issues.roundup-tracker.org/issue2550789.)
2163
2166
Original file line number Diff line number Diff line change @@ -2188,7 +2188,7 @@ running::
2188
2188
roundup-admin -i <tracker_home> table password,id,username
2189
2189
2190
2190
Look for lines starting with ``{CRYPT}``. You can reset the user's
2191
- password using::
2191
+ password using [#history-pragma]_ ::
2192
2192
2193
2193
roundup-admin -i <tracker_home>
2194
2194
roundup> set user16 password=somenewpassword
@@ -2199,6 +2199,14 @@ prompt). This prevents the new password from showing up in the output
2199
2199
of ps or shell history. The new password will be encrypted using the
2200
2200
default encryption method (usually pbkdf2).
2201
2201
2202
+ .. [#history-pragma] If your version of roundup-admin provides history
2203
+ support, you should add ``-P history_features=2`` to the command
2204
+ line or run ``pragma history_features=2`` at the ``roundup>``
2205
+ prompt. This will prevent the command line (and password) from being
2206
+ saved to your history file (usually ``.roundup_admin_history`` in
2207
+ your user's home directory. You can use ``roundup-admin -i
2208
+ <tracker_home> pragma list`` to see if pragmas are supported.
2209
+
2202
2210
Enable performance improvement for wsgi mode (optional)
2203
2211
-------------------------------------------------------
2204
2212
You can’t perform that action at this time.
0 commit comments