Mercurial > p > roundup > code
comparison doc/admin_guide.txt @ 8432:7f7749d86da8
doc: add disable saving roundup-admin history file for password changes
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 25 Aug 2025 20:44:42 -0400 |
| parents | 94eed885e958 |
| children | de1dac9abcb6 |
comparison
equal
deleted
inserted
replaced
| 8431:a6c41651f553 | 8432:7f7749d86da8 |
|---|---|
| 2149 admin password. If you want to initialise a tracker non-interactively | 2149 admin password. If you want to initialise a tracker non-interactively |
| 2150 you can put the initialise command and password on the command | 2150 you can put the initialise command and password on the command |
| 2151 line. But this allows others on the host to see the password (using | 2151 line. But this allows others on the host to see the password (using |
| 2152 the ps command). To initialise a tracker non-interactively without | 2152 the ps command). To initialise a tracker non-interactively without |
| 2153 exposing the password, create a file (e.g init_tracker) set to mode | 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 initialise admin_password | 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 (for more details see https://issues.roundup-tracker.org/issue2550789.) | 2165 (for more details see https://issues.roundup-tracker.org/issue2550789.) |
| 2163 | 2166 |
| 2164 .. index:: ! roundup-admin; usage in scripts | 2167 .. index:: ! roundup-admin; usage in scripts |
| 2165 | 2168 |
