blob: 133fb0365c4fbb9efac3bcfb59345d4a7a60f92c [file] [log] [blame]
Luca Milanesiob10848e2017-01-11 00:04:25 +00001= passwd
2
3== NAME
4passwd - 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
17Set or reset password in an existing Gerrit server installation,
18interactively prompting for a new password or using the one
19provided 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
30SECTION.KEY::
31 Section and key in the `secure.config` file for setting or editing the
32 password value.
33
34PASSWORD::
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
41This utility is typically useful when a secure store is configured
42to encrypt password values and thus editing the file manually is not an option.
43
44GERRIT
45------
46Part of link:index.html[Gerrit Code Review]
47
48SEARCHBOX
49---------