Luca Milanesio | b10848e | 2017-01-11 00:04:25 +0000 | [diff] [blame] | 1 | = passwd |
| 2 | |
| 3 | == NAME |
| 4 | passwd - Set or reset password in secure.config. |
| 5 | |
| 6 | == SYNOPSIS |
| 7 | [verse] |
| 8 | -- |
| 9 | _java_ -jar gerrit.war _passwd_ |
| 10 | -d <SITE_PATH> |
| 11 | <SECTION.KEY> |
| 12 | [PASSWORD] |
| 13 | |
| 14 | -- |
| 15 | |
| 16 | == DESCRIPTION |
| 17 | Set or reset password in an existing Gerrit server installation, |
| 18 | interactively prompting for a new password or using the one |
| 19 | provided in the command line argument. |
| 20 | |
| 21 | == OPTIONS |
| 22 | |
| 23 | -d:: |
| 24 | --site-path:: |
| 25 | Location of the `gerrit.config` file, and all other per-site |
| 26 | configuration data, supporting libraries and log files. |
| 27 | |
| 28 | == ARGUMENTS |
| 29 | |
| 30 | SECTION.KEY:: |
| 31 | Section and key in the `secure.config` file for setting or editing the |
| 32 | password value. |
| 33 | |
| 34 | PASSWORD:: |
| 35 | New password to set in `secure.config` associated to the section and key. |
| 36 | When specified as argument, automatically implies batch mode and the command |
| 37 | would not ask anything interactively. |
| 38 | |
| 39 | == CONTEXT |
| 40 | |
| 41 | This utility is typically useful when a secure store is configured |
| 42 | to encrypt password values and thus editing the file manually is not an option. |
| 43 | |
| 44 | GERRIT |
| 45 | ------ |
| 46 | Part of link:index.html[Gerrit Code Review] |
| 47 | |
| 48 | SEARCHBOX |
| 49 | --------- |