Skip to content

Commit edc8f23

Browse files
committed
issue2550789 document how to initialize a tracker without exposing the admin password
1 parent 342543c commit edc8f23

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Features:
5454

5555
Fixed:
5656

57+
- issue2550789: add documentation on how to initialise a tracker
58+
without exposing the admin password.
5759
- issue2550805: Postgres should search title attribute case insensitive
5860
like sqlite. Reported and fixed by Tom Ekberg. (Bernhard Reiter)
5961
- Removed some old left over "rlog" references in documentation and code.

doc/installation.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,10 @@ Configuring your first tracker
231231
database*. In the case of MySQL and PostgreSQL, any existing database
232232
will be dropped and re-created.
233233

234-
Once this is done, the tracker has been created.
234+
Once this is done, the tracker has been created. See the note in
235+
the user_guide on how to initialise a tracker without being
236+
prompted for the password or exposing the password on the command
237+
line.
235238

236239
2. At this point, your tracker is set up, but doesn't have a nice user
237240
interface. To set that up, we need to `configure a web interface`_ and

doc/user_guide.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,21 @@ login may be specified as either "``name``" or "``name:password``".
749749
If either the name or password is not supplied, they are obtained from
750750
the command-line.
751751

752+
When you initialise a new tracker instance you are prompted for the
753+
admin password. If you want to initialise a tracker non-interactively
754+
you can put the initialise command and password on the commnd
755+
line. But this allows others on the host to see the password (using
756+
the ps command). To initialise a tracker non-interactively without
757+
exposing the password, create a file (e.g init_tracker) set to mode
758+
600 (so only the owner can read it) with the contents:
759+
760+
initialise admin_password
761+
762+
and feed it to roundup-admin on standard input. E.G.
763+
764+
cat init_tracker | roundup-admin -i tracker_dir
765+
766+
(for more details see http://issues.roundup-tracker.org/issue2550789.)
752767

753768
Using with the shell
754769
--------------------

0 commit comments

Comments
 (0)