Mercurial > p > roundup > code
changeset 4792:1a0cf0345465
issue2550789 document how to initialize a tracker without exposing the admin password
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 08 Jun 2013 22:24:35 -0400 |
| parents | 140d4c2469db |
| children | d9e5539303bd |
| files | CHANGES.txt doc/installation.txt doc/user_guide.txt |
| diffstat | 3 files changed, 21 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Sat Jun 08 22:01:52 2013 -0400 +++ b/CHANGES.txt Sat Jun 08 22:24:35 2013 -0400 @@ -54,6 +54,8 @@ Fixed: +- issue2550789: add documentation on how to initialise a tracker + without exposing the admin password. - issue2550805: Postgres should search title attribute case insensitive like sqlite. Reported and fixed by Tom Ekberg. (Bernhard Reiter) - Removed some old left over "rlog" references in documentation and code.
--- a/doc/installation.txt Sat Jun 08 22:01:52 2013 -0400 +++ b/doc/installation.txt Sat Jun 08 22:24:35 2013 -0400 @@ -231,7 +231,10 @@ database*. In the case of MySQL and PostgreSQL, any existing database will be dropped and re-created. - Once this is done, the tracker has been created. + Once this is done, the tracker has been created. See the note in + the user_guide on how to initialise a tracker without being + prompted for the password or exposing the password on the command + line. 2. At this point, your tracker is set up, but doesn't have a nice user interface. To set that up, we need to `configure a web interface`_ and
--- a/doc/user_guide.txt Sat Jun 08 22:01:52 2013 -0400 +++ b/doc/user_guide.txt Sat Jun 08 22:24:35 2013 -0400 @@ -749,6 +749,21 @@ If either the name or password is not supplied, they are obtained from the command-line. +When you initialise a new tracker instance you are prompted for the +admin password. If you want to initialise a tracker non-interactively +you can put the initialise command and password on the commnd +line. But this allows others on the host to see the password (using +the ps command). To initialise a tracker non-interactively without +exposing the password, create a file (e.g init_tracker) set to mode +600 (so only the owner can read it) with the contents: + + initialise admin_password + +and feed it to roundup-admin on standard input. E.G. + + cat init_tracker | roundup-admin -i tracker_dir + +(for more details see http://issues.roundup-tracker.org/issue2550789.) Using with the shell --------------------
