summaryrefslogtreecommitdiffstats
path: root/Documentation/pgm-passwd.txt
blob: 133fb0365c4fbb9efac3bcfb59345d4a7a60f92c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
= passwd

== NAME
passwd - Set or reset password in secure.config.

== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war _passwd_
  -d <SITE_PATH>
  <SECTION.KEY>
  [PASSWORD]

--

== DESCRIPTION
Set or reset password in an existing Gerrit server installation,
interactively prompting for a new password or using the one
provided in the command line argument.

== OPTIONS

-d::
--site-path::
	Location of the `gerrit.config` file, and all other per-site
	configuration data, supporting libraries and log files.

== ARGUMENTS

SECTION.KEY::
	Section and key in the `secure.config` file for setting or editing the
	password value.

PASSWORD::
	New password to set in `secure.config` associated to the section and key.
	When specified as argument, automatically implies batch mode and the command
	would not ask anything interactively.

== CONTEXT

This utility is typically useful when a secure store is configured
to encrypt password values and thus editing the file manually is not an option.

GERRIT
------
Part of link:index.html[Gerrit Code Review]

SEARCHBOX
---------